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 '