[Top][All Lists]

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

[Noalyss-commit] [noalyss] 02/35: Extension : fix path

From: Dany De Bontridder
Subject: [Noalyss-commit] [noalyss] 02/35: Extension : fix path
Date: Tue, 24 May 2016 21:25:37 +0000 (UTC)

sparkyx pushed a commit to branch master
in repository noalyss.

commit 5715daa8aa851c1dfbde29fc062bfa8089feb529
Author: Dany De Bontridder <address@hidden>
Date:   Fri Mar 25 09:16:10 2016 +0100

    Extension : fix path
 include/class/class_extension.php |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/include/class/class_extension.php 
index eafad7f..06c3ab1 100644
--- a/include/class/class_extension.php
+++ b/include/class/class_extension.php
@@ -48,7 +48,7 @@ class Extension extends Menu_Ref_sql
         if (trim($this->me_code)=="") throw new Exception('Le code ne peut pas 
être vide');
         if (trim($this->me_menu)=="") throw new Exception('Le nom ne peut pas 
être vide');
         if (trim($this->me_file)=="") throw new Exception('Chemin incorrect');
-        if 
 == false)
+        if (file_exists(NOALYSS_PLUGIN.'/'.$this->me_file) == false)
             throw new Exception ('Extension non trouvée, le chemin est-il 
     /address@hidden search a extension, the what is the column (extends_code */

reply via email to

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