noalyss-commit
[Top][All Lists]
Advanced

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

[Noalyss-commit] [noalyss] 01/10: security


From: Dany De Bontridder
Subject: [Noalyss-commit] [noalyss] 01/10: security
Date: Thu, 27 Aug 2015 01:33:54 +0000

sparkyx pushed a commit to branch master
in repository noalyss.

commit 86a95ddf5379e541cd05cf7c9c39b59c9422b11b
Author: Dany De Bontridder <address@hidden>
Date:   Thu Aug 27 01:06:03 2015 +0200

    security
---
 include/ajax_ledger_show.php |    3 ++-
 1 files changed, 2 insertions(+), 1 deletions(-)

diff --git a/include/ajax_ledger_show.php b/include/ajax_ledger_show.php
index 12d8779..db9534c 100644
--- a/include/ajax_ledger_show.php
+++ b/include/ajax_ledger_show.php
@@ -12,7 +12,8 @@
  *   - nbjrn
  *   - r_jrn[]
  */
-// require_once '.php';
+if ( ! defined ('ALLOWED') ) die('Appel direct ne sont pas permis');
+
 require_once NOALYSS_INCLUDE.'/class_acc_ledger.php';
 require_once NOALYSS_INCLUDE.'/class_html_input.php';
 if ( ! isset ($r_jrn)) { $r_jrn=null;}



reply via email to

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