]> jfr.im git - z_archive/KronOS.git/commitdiff
Added testing profile
authorJohn Runyon <redacted>
Fri, 1 Nov 2013 02:27:34 +0000 (02:27 +0000)
committerJohn Runyon <redacted>
Fri, 1 Nov 2013 02:27:34 +0000 (02:27 +0000)
index.php

index e64d40bc83b7b2f84867f57c5eb3a6939e6767a1..b5f86c6fe931ddebe5e83378c04595d2af81c6c2 100644 (file)
--- a/index.php
+++ b/index.php
@@ -1,5 +1,6 @@
 <?php
 
+
 /*
  *---------------------------------------------------------------
  * APPLICATION ENVIRONMENT
@@ -38,6 +39,10 @@ if (defined('ENVIRONMENT'))
                break;
        
                case 'testing':
+                       ini_set("display_error", 0);
+                       error_report(E_ALL);
+               break;
+
                case 'production':
                        error_reporting(0);
                break;
@@ -203,4 +208,4 @@ if (defined('ENVIRONMENT'))
 require_once BASEPATH.'core/CodeIgniter.php';
 
 /* End of file index.php */
-/* Location: ./index.php */
\ No newline at end of file
+/* Location: ./index.php */