Author: danydb
Date: 2012-05-29 15:30:05 +0200 (Tue, 29 May 2012)
New Revision: 375

Modified:
   trunk/coprop/include/class_install_plugin.php
Log:
replace __DIR__ by dirname(__FILE__) to get it compatible with php 5.2


Modified: trunk/coprop/include/class_install_plugin.php
===================================================================
--- trunk/coprop/include/class_install_plugin.php       2012-05-29 13:19:19 UTC 
(rev 374)
+++ trunk/coprop/include/class_install_plugin.php       2012-05-29 13:30:05 UTC 
(rev 375)
@@ -155,8 +155,8 @@
        }
        function create_table()
        {
-
-               $file=__DIR__."/../sql/create_table.sql";
+         
+              $file=dirname(__FILE__)."/../sql/create_table.sql";
                $this->cn->execute_script($file);
 
        }



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

_______________________________________________
Phpcompta  est un logiciel libre de comptabilité en ligne 
(http://www.phpcompta.eu)
Phpcompta-dev mailing list
[email protected]
https://lists.nongnu.org/mailman/listinfo/phpcompta-dev

Reply via email to