From dc88a10f281beda5ffad02fa2ab10f41efec457c Mon Sep 17 00:00:00 2001 From: Juan Ferrer Toribio Date: Mon, 14 Nov 2016 10:45:46 +0100 Subject: [PATCH] =?UTF-8?q?A=C3=B1adida=20constante=20de=20configuraci?= =?UTF-8?q?=C3=B3n=20de=20entorno=20=5FDEBUG=5FMODE?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- debian/changelog | 2 +- lib/app.php | 2 ++ 2 files changed, 3 insertions(+), 1 deletion(-) diff --git a/debian/changelog b/debian/changelog index d64dc00..f242c40 100644 --- a/debian/changelog +++ b/debian/changelog @@ -1,4 +1,4 @@ -php-vn-lib (1.308-deb8) stable; urgency=low +php-vn-lib (1.309-deb8) stable; urgency=low * Initial Release. diff --git a/lib/app.php b/lib/app.php index 0847a9e..d7fb8d4 100644 --- a/lib/app.php +++ b/lib/app.php @@ -7,6 +7,8 @@ require_once __DIR__.'/util.php'; use Vn\Db\Connection; use Vn\Lib\Locale; +if (!defined ('_ENABLE_DEBUG')) + define ('_ENABLE_DEBUG', FALSE); if (!defined ('_DEV_MODE')) define ('_DEV_MODE', FALSE); if (!defined ('_CONFIG_DIR'))