phpcompta-dev
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Phpcompta-dev] r5042 - phpcompta/trunk/html/admin


From: phpcompta-dev
Subject: [Phpcompta-dev] r5042 - phpcompta/trunk/html/admin
Date: Fri, 29 Jun 2012 23:59:12 +0200 (CEST)

Author: danydb
Date: 2012-06-29 23:59:12 +0200 (Fri, 29 Jun 2012)
New Revision: 5042

Modified:
   phpcompta/trunk/html/admin/setup.php
Log:
New false paramater : register_globals

Modified: phpcompta/trunk/html/admin/setup.php
===================================================================
--- phpcompta/trunk/html/admin/setup.php        2012-06-29 21:39:50 UTC (rev 
5041)
+++ phpcompta/trunk/html/admin/setup.php        2012-06-29 21:59:12 UTC (rev 
5042)
@@ -141,6 +141,7 @@
               "php_value max_execution_time 240",
               "php_value memory_limit 20M",
               "AddDefaultCharset utf-8",
+                  "php_flag  register_globals off",
               "php_value error_reporting 10239",
               "php_value post_max_size 20M",
               "php_flag short_open_tag on",
@@ -191,7 +192,7 @@
   echo '</form>';
   exit();
 }
- 
+
 //----------------------------------------------------------------------
 // End functions
 //
@@ -279,6 +280,13 @@
         echo "</li>";
        $flag_php++;
 }
+if ( ini_get("register_globals") == true)  {
+        echo "<li>";
+        echo 'Avertissement : '.$failed;
+       print '<span class="warning"> register_globals doit être à off</span>';
+        echo "</li>";
+       $flag_php++;
+}
 
 if ( ini_get("session.use_trans_sid") == false )  {
         echo "<li>";



---
PhpCompta est un logiciel de comptabilité libre en ligne (full web)
Projet opensource http://www.phpcompta.eu



reply via email to

[Prev in Thread] Current Thread [Next in Thread]