phpcompta-dev
[Top][All Lists]
Advanced

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

[Phpcompta-dev] r383 - trunk/tva


From: phpcompta-dev
Subject: [Phpcompta-dev] r383 - trunk/tva
Date: Wed, 27 Jun 2012 18:50:04 +0200 (CEST)

Author: danydb
Date: 2012-06-27 18:50:04 +0200 (Wed, 27 Jun 2012)
New Revision: 383

Modified:
   trunk/tva/index.php
Log:
fix bug with __DIR__

Modified: trunk/tva/index.php
===================================================================
--- trunk/tva/index.php 2012-06-26 09:38:01 UTC (rev 382)
+++ trunk/tva/index.php 2012-06-27 16:50:04 UTC (rev 383)
@@ -92,7 +92,8 @@
   $cn->exec_sql("alter table tva_belge.assujetti add exercice text");
 if ( $cn->exist_table("version","tva_belge")==false)
 {
-               $file=__DIR__."/sql/patch2.sql";
+
+  $file=dirname(__FILE__)."/sql/patch2.sql";
                $cn->execute_script($file);
                if ( $install == 0 ) echo_warning(_("Mise à jour du plugin, 
pourriez-vous en vérifier le paramètrage ?"));
                $def=5;



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