phpcompta-dev
[Top][All Lists]
Advanced

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

[Phpcompta-dev] r375 - trunk/coprop/include


From: phpcompta-dev
Subject: [Phpcompta-dev] r375 - trunk/coprop/include
Date: Tue, 29 May 2012 15:30:05 +0200 (CEST)

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



reply via email to

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