]> git.nbdom.net Git - nb.git/commitdiff
www/dbq/dbq.php
authorNicolas Boisselier <nicolas.boisselier@gmail.com>
Mon, 9 Sep 2024 08:53:53 +0000 (10:53 +0200)
committerNicolas Boisselier <nicolas.boisselier@gmail.com>
Mon, 9 Sep 2024 08:53:53 +0000 (10:53 +0200)
www/dbq/dbq.php

index 9ea36642723b7b9f809c58902a228bc602218d59..84f7747fb0e6d1ff30227aea8cc2a52076bf603d 100644 (file)
@@ -17,18 +17,6 @@ require_once(NB_ROOT.'/lib/php/http.php');
 require_once(NB_ROOT.'/lib/php/mime.php');
 require_once(NB_ROOT.'/lib/php/page.php');
 
-# NB 03.01.18 if (false) set_error_handler( function ($errNo, $errStr, $errFile, $errLine) {
-# NB 03.01.18          $msg = "$errStr in $errFile on line $errLine\n";
-# NB 03.01.18          if ($errNo == E_NOTICE || $errNo == E_WARNING) {
-# NB 03.01.18                          header("HTTP/1.0 500 Internal Server Error");
-# NB 03.01.18                          #Revel args from function which could be passwords !!!
-# NB 03.01.18                          #throw new ErrorException($msg, $errNo);
-# NB 03.01.18                          nb::bye("$errNo: $msg");
-# NB 03.01.18          } else {
-# NB 03.01.18                          echo $msg;
-# NB 03.01.18          }
-# NB 03.01.18 });
-
 class DbQ extends nb {
 
        const ACTIONS_NO_TITLE = ['ls','vi'];