[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
b/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
(file_exists('..'.DIRECTORY_SEPARATOR.'include'.DIRECTORY_SEPARATOR.'ext'.DIRECTORY_SEPARATOR.$this->me_file)
== false)
+ if (file_exists(NOALYSS_PLUGIN.'/'.$this->me_file) == false)
throw new Exception ('Extension non trouvée, le chemin est-il
correct?');
}
/address@hidden search a extension, the what is the column (extends_code */
- [Noalyss-commit] [noalyss] 10/35: Sendmail : Remove dead code, (continued)
- [Noalyss-commit] [noalyss] 10/35: Sendmail : Remove dead code, Dany De Bontridder, 2016/05/24
- [Noalyss-commit] [noalyss] 14/35: Translation, Dany De Bontridder, 2016/05/24
- [Noalyss-commit] [noalyss] 17/35: Limit email : fix small bugs, Dany De Bontridder, 2016/05/24
- [Noalyss-commit] [noalyss] 01/35: fid.php : retrieve parameters with safe function, Dany De Bontridder, 2016/05/24
- [Noalyss-commit] [noalyss] 22/35: Acc_Ledger_Sold : avoid message when undefined variable, Dany De Bontridder, 2016/05/24
- [Noalyss-commit] [noalyss] 12/35: Translation, Dany De Bontridder, 2016/05/24
- [Noalyss-commit] [noalyss] 18/35: Documentation sorttable_nosort, Dany De Bontridder, 2016/05/24
- [Noalyss-commit] [noalyss] 15/35: Bug : wrong url to update folders, Dany De Bontridder, 2016/05/24
- [Noalyss-commit] [noalyss] 27/35: Merge branch 'master' of ssh://ns2git/srv/git/noalyss, Dany De Bontridder, 2016/05/24
- [Noalyss-commit] [noalyss] 05/35: Add defined value OFFICE and GENERATE_PDF, Dany De Bontridder, 2016/05/24
- [Noalyss-commit] [noalyss] 02/35: Extension : fix path,
Dany De Bontridder <=
- [Noalyss-commit] [noalyss] 26/35: Import IText, Dany De Bontridder, 2016/05/24
- [Noalyss-commit] [noalyss] 23/35: Fix several small bugs, Dany De Bontridder, 2016/05/24
- [Noalyss-commit] [noalyss] 35/35: Impress JRN Fix bug with qcode, Dany De Bontridder, 2016/05/24
- [Noalyss-commit] [noalyss] 13/35: translation, Dany De Bontridder, 2016/05/24
- [Noalyss-commit] [noalyss] 19/35: CFGPLUGIN : Add filter to plugin table, Dany De Bontridder, 2016/05/24
- [Noalyss-commit] [noalyss] 20/35: Fiche : détail fiche , change taille id fiche, Dany De Bontridder, 2016/05/24
- [Noalyss-commit] [noalyss] 25/35: Fix several small bugs, Dany De Bontridder, 2016/05/24
- [Noalyss-commit] [noalyss] 24/35: Cosmetic change CSS for mobile, Dany De Bontridder, 2016/05/24
- [Noalyss-commit] [noalyss] 11/35: Anc_Operation :fix undefined offset in Anc_Operation::save_form_plan, Dany De Bontridder, 2016/05/24
- [Noalyss-commit] [noalyss] 32/35: Fix problem with orphan_lob_clean instead of clean_orphan_lob and fix problem when checking analytic when amount == 0, Dany De Bontridder, 2016/05/24