summaryrefslogtreecommitdiffstats
path: root/admin/WebConsole/rest/index.php
diff options
context:
space:
mode:
authorramon <ramongomez@us.es>2017-02-08 10:50:23 +0000
committerramon <ramongomez@us.es>2017-02-08 10:50:23 +0000
commit1ab1b31df17de5c1ebf80826c33299a1bc517151 (patch)
tree007ed304ba2c0b77bf754f78ffd3393a61a0c03a /admin/WebConsole/rest/index.php
parenta26527db3d1288c340fc503beca4dbde52d65131 (diff)
#708: Reorganizar funciones comunes y registrar errores en fichero {{{error.log}}} de Apache.
git-svn-id: https://opengnsys.es/svn/branches/version1.1@5178 a21b9725-9963-47de-94b9-378ad31fedc9
Diffstat (limited to 'admin/WebConsole/rest/index.php')
-rw-r--r--admin/WebConsole/rest/index.php6
1 files changed, 4 insertions, 2 deletions
diff --git a/admin/WebConsole/rest/index.php b/admin/WebConsole/rest/index.php
index 00a13571..2b632fff 100644
--- a/admin/WebConsole/rest/index.php
+++ b/admin/WebConsole/rest/index.php
@@ -32,10 +32,12 @@ if (!$cmd)
die("Access Error");
// Install Slim application (development mode).
-//$app = new \Slim\Slim(array('mode' => 'production', 'debug' => false));
+//$app = new \Slim\Slim(array('mode' => 'production', ... );
$app = new \Slim\Slim(array(
'mode' => 'development',
- 'debug' => true));
+ 'log.enabled' => true,
+ 'log.level' => \Slim\Log::ERROR,
+ 'debug' => false));
$app->setName('opengnsys');
// Global variables.