Permalink
Browse files

Changing error_reporting directive

  • Loading branch information...
1 parent c5dd659 commit dd2cc2092bcbc952e9714749de5aa5f103eb894d phalcon committed May 23, 2012
Showing with 4 additions and 0 deletions.
  1. +4 −0 public/index.php
View
@@ -1,6 +1,9 @@
<?php
+error_reporting(E_ALL);
+
try {
+
require __DIR__.'/../app/controllers/ControllerBase.php';
require __DIR__.'/../app/library/Elements.php';
@@ -12,6 +15,7 @@
$front->setConfig($config);
echo $front->dispatchLoop()->getContent();
+
} catch (Phalcon_Exception $e) {
echo "PhalconException: ", $e->getMessage();
}

0 comments on commit dd2cc20

Please sign in to comment.