noalyss-commit
[Top][All Lists]
Advanced

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

[Noalyss-commit] [noalyss] 07/08: Add NOALYSS_INCLUDE


From: Dany De Bontridder
Subject: [Noalyss-commit] [noalyss] 07/08: Add NOALYSS_INCLUDE
Date: Sat, 13 Feb 2016 01:42:24 +0000

sparkyx pushed a commit to branch master
in repository noalyss.

commit e445f120080927b26b57310e968686871b1e544e
Author: Dany De Bontridder <address@hidden>
Date:   Sat Feb 13 01:43:10 2016 +0100

    Add NOALYSS_INCLUDE
---
 include/compta_ods.inc.php |    4 ++--
 1 files changed, 2 insertions(+), 2 deletions(-)

diff --git a/include/compta_ods.inc.php b/include/compta_ods.inc.php
index bf1197d..068c1e7 100644
--- a/include/compta_ods.inc.php
+++ b/include/compta_ods.inc.php
@@ -64,7 +64,7 @@ if ($g_user->check_jrn($ledger->id) == 'X')
 $p_msg="";
 if (!isset($_POST['summary']) && !isset($_POST['save']))
 {
-       require('operation_ods_new.inc.php');
+       require NOALYSS_INCLUDE.'/operation_ods_new.inc.php';
        return;
 }
 elseif (isset($_POST['summary']))
@@ -134,7 +134,7 @@ elseif (isset($_POST['save']))
        }
        catch (Exception $e)
        {
-               require('operation_ods_new.inc.php');
+               require NOALYSS_INCLUDE.'/operation_ods_new.inc.php';
                alert($e->getMessage());
                 $p_msg=$e->getMessage();
        }



reply via email to

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