From: Nicolas Boisselier Date: Mon, 4 Dec 2017 19:22:11 +0000 (+0000) Subject: lib/php/db/index.php X-Git-Url: https://git.nbdom.net/?a=commitdiff_plain;h=7a5c997da0d0b0bf6833311cf64a49a228eb1532;p=nb.git lib/php/db/index.php --- diff --git a/lib/php/db/index.php b/lib/php/db/index.php index 36175933..408ac7f8 100755 --- a/lib/php/db/index.php +++ b/lib/php/db/index.php @@ -7,8 +7,8 @@ * lib/php/db/index.php */ require_once(realpath(dirname(__FILE__).'/init.php')); -if(defined('DB_NO_ACTION') and DB_NO_ACTION) return true; -if (!isset($Db)) global $Db, $Table; -$Db->pdef('format',$Db->content_type2format()); -return $Db->action($Db->p('action'),$Table); +# NB 04.12.17 if(defined('DB_NO_ACTION') and DB_NO_ACTION) return true; +# NB 04.12.17 if (!isset($Db)) global $Db, $Table; +# NB 04.12.17 $Db->pdef('format',$Db->content_type2format()); +# NB 04.12.17 return $Db->action($Db->p('action'),$Table); ?>