phpcompta-dev
[Top][All Lists]
Advanced

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

[Phpcompta-dev] r4829 - phpcompta/branches/rel601-ovh/html/admin


From: phpcompta-dev
Subject: [Phpcompta-dev] r4829 - phpcompta/branches/rel601-ovh/html/admin
Date: Thu, 10 May 2012 21:27:57 +0200 (CEST)

Author: danydb
Date: 2012-05-10 21:27:57 +0200 (Thu, 10 May 2012)
New Revision: 4829

Modified:
   phpcompta/branches/rel601-ovh/html/admin/setup.php
Log:
Fix bug in checking PHP setting

Modified: phpcompta/branches/rel601-ovh/html/admin/setup.php
===================================================================
--- phpcompta/branches/rel601-ovh/html/admin/setup.php  2012-05-10 19:01:38 UTC 
(rev 4828)
+++ phpcompta/branches/rel601-ovh/html/admin/setup.php  2012-05-10 19:27:57 UTC 
(rev 4829)
@@ -108,7 +108,7 @@
        $failed = "<span style=\"font-size:18px;color:red\">&#x2716;</span>";
        $succeed = "<span style=\"font-size:18px;color:green\">&#x2713;</span>";
        $inc_path = get_include_path();
-
+       require_once '../../include/setting.php';
        /**
         * @brief create correctly the htaccess file
         */
@@ -143,7 +143,6 @@
                if (!$hFile)
                        exit('Impossible d\'&eacute;crire dans le 
r&eacute;pertoire html');
                $array = array("php_flag  magic_quotes_gpc off",
-                       "php_flag session.auto_start on",
                        "php_value max_execution_time 240",
                        "php_value memory_limit 20M",
                        "AddDefaultCharset utf-8",
@@ -292,14 +291,14 @@
                echo "</li>";
        }
 
-       if (ini_get("session.auto_start") == false)
+       /*if (ini_get("session.auto_start") == false)
        {
                echo "<li>";
                echo 'Avertissement : ' . $failed;
                print '<span class="warning"> session.auto_start doit être mis 
à vrai</span>';
                echo "</li>";
                $flag_php++;
-       }
+       }*/
 
        if (ini_get("session.use_trans_sid") == false)
        {
@@ -308,8 +307,9 @@
                print '<span class="warning"> avertissement 
session.use_trans_sid should be set to true </span>';
                echo "</li>";
        }
-
+/*
        echo "<li>";
+
        if (strpos($inc_path, "../include") == 0 && strpos($inc_path, 
'..\\include') == 0)
        {
                echo 'variable include_path: ' . $failed;
@@ -317,15 +317,9 @@
                $flag_php++;
        }
        else
-       if (strpos($inc_path, "addon") == 0)
-       {
-               echo 'variable include_path: ' . $failed;
-               print ("<span class=\"warning\">2 include_path incorrect  !!!" 
. $inc_path . "</span>");
-               $flag_php++;
-       }else
                echo 'variable include_path: ' . $succeed;
        echo "</li>";
-
+*/
        echo "</ul>";
        if ($flag_php == 0)
        {



---
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]