[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Noalyss-commit] [noalyss] 12/13: Development : tools for debugging, add
From: |
Dany De Bontridder |
Subject: |
[Noalyss-commit] [noalyss] 12/13: Development : tools for debugging, add button for the $_REQUEST and correct a bug in dbg.php |
Date: |
Sun, 16 Oct 2022 17:26:15 -0400 (EDT) |
sparkyx pushed a commit to branch master
in repository noalyss.
commit 4fb5154fa1fce04968689f4bf96c0e9c37888de7
Author: sparkyx <danydb@noalyss.eu>
AuthorDate: Sun Oct 16 23:18:28 2022 +0200
Development : tools for debugging, add button for the $_REQUEST and correct
a bug in dbg.php
---
html/admin-noalyss.php | 9 +++++++++
include/lib/dbg.php | 1 +
2 files changed, 10 insertions(+)
diff --git a/html/admin-noalyss.php b/html/admin-noalyss.php
index 4965c7676..c6d273783 100644
--- a/html/admin-noalyss.php
+++ b/html/admin-noalyss.php
@@ -31,7 +31,16 @@ if (file_exists("../include/config.inc.php") ) {
define ('ALLOWED',1);
define ('ALLOWED_ADMIN',1);
require_once '../include/constant.php';
+
\Noalyss\Dbg::echo_file(__FILE__);
+ if ( DEBUGNOALYSS > 1 ) {
+ /**
+ * Debug Design
+ */
+ \Noalyss\Dbg::display_size();
+ \Noalyss\Dbg::display_request();
+ \Noalyss\Dbg::display_global();
+ } //<--- if DEBUG
require_once NOALYSS_INCLUDE.'/admin_repo.inc.php';
} else {
// Redirect to install file , if this file exists then
diff --git a/include/lib/dbg.php b/include/lib/dbg.php
index 03232c897..5b6425853 100644
--- a/include/lib/dbg.php
+++ b/include/lib/dbg.php
@@ -1,6 +1,7 @@
<?php
namespace Noalyss;
+require_once NOALYSS_INCLUDE.'/lib/ac_common.php';
class Dbg
{
- [Noalyss-commit] [noalyss] branch master updated (e133e0ca8 -> 75d59f1b5), Dany De Bontridder, 2022/10/16
- [Noalyss-commit] [noalyss] 02/13: Cosmetic, Dany De Bontridder, 2022/10/16
- [Noalyss-commit] [noalyss] 11/13: - Override the function __toString to comply with xdebug - function Card_Property::input ; the build of the HtmlInput is done is a separated function Card_Property::build_input to ease the override of the input function, Dany De Bontridder, 2022/10/16
- [Noalyss-commit] [noalyss] 09/13: New Icon_Action for hidding or showing a DIV, Dany De Bontridder, 2022/10/16
- [Noalyss-commit] [noalyss] 12/13: Development : tools for debugging, add button for the $_REQUEST and correct a bug in dbg.php,
Dany De Bontridder <=
- [Noalyss-commit] [noalyss] 13/13: merge, Dany De Bontridder, 2022/10/16
- [Noalyss-commit] [noalyss] 01/13: Improve DEBUG, Dany De Bontridder, 2022/10/16
- [Noalyss-commit] [noalyss] 05/13: add magic function toString, Dany De Bontridder, 2022/10/16
- [Noalyss-commit] [noalyss] 06/13: typo, Dany De Bontridder, 2022/10/16
- [Noalyss-commit] [noalyss] 08/13: Development : new tools for debugging in the new class \Noalyss\Dbg (dbg.php);, Dany De Bontridder, 2022/10/16
- [Noalyss-commit] [noalyss] 10/13: - Override the function __toString to comply with xdebug - Correct bug in input_switch.class.php when there is several input_switch - FicheDef the insertAttribut can have an order, usefull when installing new category + attribute, Dany De Bontridder, 2022/10/16
- [Noalyss-commit] [noalyss] 04/13: Cosmetic : warning, Dany De Bontridder, 2022/10/16
- [Noalyss-commit] [noalyss] 07/13: Task #0001755: Dans Administration - dossier - «Sauvegarde» et non «Backup», Dany De Bontridder, 2022/10/16
- [Noalyss-commit] [noalyss] 03/13: Code cleaning pg_fetch_array, Dany De Bontridder, 2022/10/16