From b5820315f9166f3cf0f56027a19ccadfad4cff36 Mon Sep 17 00:00:00 2001 From: Laurent Destailleur Date: Sat, 13 Jul 2013 10:34:19 +0200 Subject: [PATCH] Fix: Correct permissions on files --- dev/initdata/generate-commande.php | 0 dev/initdata/generate-facture.php | 0 dev/initdata/generate-produit.php | 0 dev/initdata/generate-propale.php | 4 +- dev/initdata/generate-societe.php | 0 htdocs/admin/geoipmaxmind.php | 2 +- htdocs/admin/pdf.php | 0 htdocs/admin/proxy.php | 0 htdocs/admin/sms.php | 0 htdocs/admin/system/perf.php | 142 +++++++++--------- htdocs/admin/translation.php | 0 htdocs/admin/workflow.php | 0 htdocs/core/class/CSMSFile.class.php | 0 .../core/class/commondocgenerator.class.php | 0 htdocs/core/class/extrafields.class.php | 0 htdocs/core/class/genericobject.class.php | 0 htdocs/core/class/hookmanager.class.php | 0 htdocs/core/class/html.formfile.class.php | 8 +- htdocs/core/class/html.formsms.class.php | 0 htdocs/core/class/rssparser.class.php | 0 htdocs/core/class/smtps.class.php | 0 htdocs/core/class/vcard.class.php | 0 .../interface_20_all_Logevents.class.php | 0 ...face_20_modPaypal_PaypalWorkflow.class.php | 0 ...e_20_modWorkflow_WorkflowManager.class.php | 0 ...terface_50_modAgenda_ActionsAuto.class.php | 28 ++-- ...interface_50_modLdap_Ldapsynchro.class.php | 0 ..._50_modNotification_Notification.class.php | 0 .../interface_90_all_Demo.class.php-NORUN | 0 htdocs/filefunc.inc.php | 0 htdocs/fourn/commande/index.php | 0 htdocs/fourn/commande/liste.php | 6 +- htdocs/includes/jquery/plugins/flot/Makefile | 24 +-- 33 files changed, 107 insertions(+), 107 deletions(-) mode change 100644 => 100755 dev/initdata/generate-commande.php mode change 100644 => 100755 dev/initdata/generate-facture.php mode change 100644 => 100755 dev/initdata/generate-produit.php mode change 100644 => 100755 dev/initdata/generate-propale.php mode change 100644 => 100755 dev/initdata/generate-societe.php mode change 100755 => 100644 htdocs/admin/pdf.php mode change 100755 => 100644 htdocs/admin/proxy.php mode change 100755 => 100644 htdocs/admin/sms.php mode change 100755 => 100644 htdocs/admin/translation.php mode change 100755 => 100644 htdocs/admin/workflow.php mode change 100755 => 100644 htdocs/core/class/CSMSFile.class.php mode change 100755 => 100644 htdocs/core/class/commondocgenerator.class.php mode change 100755 => 100644 htdocs/core/class/extrafields.class.php mode change 100755 => 100644 htdocs/core/class/genericobject.class.php mode change 100755 => 100644 htdocs/core/class/hookmanager.class.php mode change 100755 => 100644 htdocs/core/class/html.formsms.class.php mode change 100755 => 100644 htdocs/core/class/rssparser.class.php mode change 100755 => 100644 htdocs/core/class/smtps.class.php mode change 100755 => 100644 htdocs/core/class/vcard.class.php mode change 100755 => 100644 htdocs/core/triggers/interface_20_all_Logevents.class.php mode change 100755 => 100644 htdocs/core/triggers/interface_20_modPaypal_PaypalWorkflow.class.php mode change 100755 => 100644 htdocs/core/triggers/interface_20_modWorkflow_WorkflowManager.class.php mode change 100755 => 100644 htdocs/core/triggers/interface_50_modAgenda_ActionsAuto.class.php mode change 100755 => 100644 htdocs/core/triggers/interface_50_modLdap_Ldapsynchro.class.php mode change 100755 => 100644 htdocs/core/triggers/interface_50_modNotification_Notification.class.php mode change 100755 => 100644 htdocs/core/triggers/interface_90_all_Demo.class.php-NORUN mode change 100755 => 100644 htdocs/filefunc.inc.php mode change 100755 => 100644 htdocs/fourn/commande/index.php diff --git a/dev/initdata/generate-commande.php b/dev/initdata/generate-commande.php old mode 100644 new mode 100755 diff --git a/dev/initdata/generate-facture.php b/dev/initdata/generate-facture.php old mode 100644 new mode 100755 diff --git a/dev/initdata/generate-produit.php b/dev/initdata/generate-produit.php old mode 100644 new mode 100755 diff --git a/dev/initdata/generate-propale.php b/dev/initdata/generate-propale.php old mode 100644 new mode 100755 index b0724ecde4f..6d9db265b37 --- a/dev/initdata/generate-propale.php +++ b/dev/initdata/generate-propale.php @@ -143,8 +143,8 @@ while ($i < GEN_NUMBER_PROPAL && $result >= 0) while ($xnbp < $nbp) { $prodid = rand(1, $num_prods); - $product=new Product($db); - $result=$product->fetch($prodids[$prodid]); + $product=new Product($db); + $result=$product->fetch($prodids[$prodid]); $result=$propal->addline($product->description, $product->price, rand(1,5), 0, 0, 0, $prodids[$prodid], 0); if ($result < 0) { diff --git a/dev/initdata/generate-societe.php b/dev/initdata/generate-societe.php old mode 100644 new mode 100755 diff --git a/htdocs/admin/geoipmaxmind.php b/htdocs/admin/geoipmaxmind.php index b06853b4383..fd7704c2858 100644 --- a/htdocs/admin/geoipmaxmind.php +++ b/htdocs/admin/geoipmaxmind.php @@ -90,7 +90,7 @@ if (! empty($conf->global->GEOIPMAXMIND_COUNTRY_DATAFILE)) } else { - if (function_exists('geoip_country_code_by_name')) $geointernal=true; + if (function_exists('geoip_country_code_by_name')) $geointernal=true; } // Mode diff --git a/htdocs/admin/pdf.php b/htdocs/admin/pdf.php old mode 100755 new mode 100644 diff --git a/htdocs/admin/proxy.php b/htdocs/admin/proxy.php old mode 100755 new mode 100644 diff --git a/htdocs/admin/sms.php b/htdocs/admin/sms.php old mode 100755 new mode 100644 diff --git a/htdocs/admin/system/perf.php b/htdocs/admin/system/perf.php index 563bb3e8385..4f24998227a 100644 --- a/htdocs/admin/system/perf.php +++ b/htdocs/admin/system/perf.php @@ -22,8 +22,8 @@ require '../../main.inc.php'; require_once DOL_DOCUMENT_ROOT.'/core/lib/memory.lib.php'; -require_once DOL_DOCUMENT_ROOT.'/core/lib/date.lib.php'; -require_once DOL_DOCUMENT_ROOT.'/core/lib/geturl.lib.php'; +require_once DOL_DOCUMENT_ROOT.'/core/lib/date.lib.php'; +require_once DOL_DOCUMENT_ROOT.'/core/lib/geturl.lib.php'; $langs->load("admin"); $langs->load("install"); @@ -55,18 +55,18 @@ print $langs->trans("YouMayFindPerfAdviceHere",'http://wiki.dolibarr.org/index.p print '
'; print ''.$langs->trans("XDebug").': '; $test=!function_exists('xdebug_is_enabled'); -if ($test) print img_picto('','tick.png').' '.$langs->trans("NotInstalled"); +if ($test) print img_picto('','tick.png').' '.$langs->trans("NotInstalled"); else { print img_picto('','warning').' '.$langs->trans("XDebugInstalled"); print $langs->trans("MoreInformation").' XDebug admin page'; -} -print '
'; +} +print '
'; // Applicative cache -print '
'; -print ''.$langs->trans("ApplicativeCache").': '; -$test=!empty($conf->memcached->enabled); +print '
'; +print ''.$langs->trans("ApplicativeCache").': '; +$test=!empty($conf->memcached->enabled); if ($test) { if (!empty($conf->global->MEMCACHED_SERVER)) @@ -78,28 +78,28 @@ if ($test) { print img_picto('','warning').' '.$langs->trans("MemcachedModuleAvailableButNotSetup"); } -} -else print img_picto('','warning').' '.$langs->trans("MemcachedNotAvailable"); +} +else print img_picto('','warning').' '.$langs->trans("MemcachedNotAvailable"); print '
'; // OPCode cache -print '
'; +print '
'; print ''.$langs->trans("OPCodeCache").': '; -$test1=function_exists('xcache_info'); +$test1=function_exists('xcache_info'); if ($test1) { print img_picto('','tick.png').' '.$langs->trans("XCacheInstalled"); - print $langs->trans("MoreInformation").' Xcache admin page'; -} + print $langs->trans("MoreInformation").' Xcache admin page'; +} else { $test2=function_exists('eaccelerator_info'); if ($test2) print img_picto('','tick.png').' '.$langs->trans("EAcceleratorInstalled"); else print $langs->trans("NoOPCodeCacheFound"); -} -print '
'; +} +print '
'; -// HTTPCacheStaticResources +// HTTPCacheStaticResources print '