[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Noalyss-commit] [noalyss] 38/44: cfgcurrency : file for the new version
From: |
Dany De Bontridder |
Subject: |
[Noalyss-commit] [noalyss] 38/44: cfgcurrency : file for the new version : if the file to include does not exist then display a warning and exit look also into NOALYSS_INCLUDE |
Date: |
Wed, 26 Dec 2018 04:29:56 -0500 (EST) |
sparkyx pushed a commit to branch master
in repository noalyss.
commit 112f648c2fff049b51c57545a9a0e3160cb9e224
Author: Dany De Bontridder <address@hidden>
Date: Mon Dec 17 23:53:31 2018 +0100
cfgcurrency : file for the new version :
if the file to include does not exist then display a warning and exit
look also into NOALYSS_INCLUDE
---
include/lib/ac_common.php | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/include/lib/ac_common.php b/include/lib/ac_common.php
index 40cb46b..4a32019 100644
--- a/include/lib/ac_common.php
+++ b/include/lib/ac_common.php
@@ -1104,7 +1104,7 @@ function show_menu($module)
// if file is not a plugin, include the file, otherwise
// include the plugin launcher
if ( $file[0]['me_type'] != 'PL') {
- if (file_exists($file[0]['me_file']))
+ if (file_exists ($file[0]['me_file']) ||
file_exists(NOALYSS_INCLUDE.'/'.$file[0]['me_file']))
{
require_once $file[0]['me_file'];
} else {
- [Noalyss-commit] [noalyss] 15/44: typo, (continued)
- [Noalyss-commit] [noalyss] 15/44: typo, Dany De Bontridder, 2018/12/26
- [Noalyss-commit] [noalyss] 34/44: predefined operation , invalid value for database::setp, Dany De Bontridder, 2018/12/26
- [Noalyss-commit] [noalyss] 28/44: reverse for quant_fin, Dany De Bontridder, 2018/12/26
- [Noalyss-commit] [noalyss] 36/44: Pre_Operation : add attribut, Dany De Bontridder, 2018/12/26
- [Noalyss-commit] [noalyss] 08/44: Merge branch 'master' of gitlab.noalyss.eu:noalyss/noalyss, Dany De Bontridder, 2018/12/26
- [Noalyss-commit] [noalyss] 44/44: Merge branch 'master' of gitlab.noalyss.eu:noalyss/noalyss, Dany De Bontridder, 2018/12/26
- [Noalyss-commit] [noalyss] 42/44: Doc + typo, Dany De Bontridder, 2018/12/26
- [Noalyss-commit] [noalyss] 39/44: cfgcurrency : file for the new version : if the file to include does not exist then display a warning and exit look also into NOALYSS_INCLUDE, Dany De Bontridder, 2018/12/26
- [Noalyss-commit] [noalyss] 11/44: Improve cosmetic, Dany De Bontridder, 2018/12/26
- [Noalyss-commit] [noalyss] 23/44: translate, Dany De Bontridder, 2018/12/26
- [Noalyss-commit] [noalyss] 38/44: cfgcurrency : file for the new version : if the file to include does not exist then display a warning and exit look also into NOALYSS_INCLUDE,
Dany De Bontridder <=
- [Noalyss-commit] [noalyss] 41/44: Merge branch 'master' of gitlab.noalyss.eu:noalyss/noalyss, Dany De Bontridder, 2018/12/26
- [Noalyss-commit] [noalyss] 33/44: Database upgrade 131, Dany De Bontridder, 2018/12/26
- [Noalyss-commit] [noalyss] 43/44: gitlab #3 Manage Table issue with the type SELECT, cannot reproduce bug Back to old version to fix issue with the type "SELECT" from the menu Syndicat.tools->section, Dany De Bontridder, 2018/12/26
- [Noalyss-commit] [noalyss] 12/44: Translate, Dany De Bontridder, 2018/12/26