Skip to content
Permalink
Browse files

Removed offending code in bootstrap for unit testing.

  • Loading branch information...
parkerj committed Oct 3, 2016
1 parent 8994b23 commit bba073c1ca93c57c1ef64a94613066567bc276a8
Showing with 0 additions and 19 deletions.
  1. +0 −19 Liten/Bootstrap.php
@@ -27,25 +27,6 @@
* OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
* THE SOFTWARE.
*/
/**
* Error log setting
*/
if (APP_ENV == 'DEV') {
/**
* Print errors to the screen.
*/
error_reporting(E_ALL & ~E_NOTICE);
ini_set('display_errors', 'On');
} else {
/**
* Log errors to a file.
*/
error_reporting(E_ALL & ~E_NOTICE);
ini_set('display_errors', 'Off');
ini_set('log_errors', 'On');
ini_set('error_log', BASE_PATH . DS . 'error.' . date('m-d-Y') . '.txt');
}
require( BASE_PATH . 'Liten' . DS . 'Autoloader.php');
$loader = new \Liten\Autoloader();
$loader->register();

0 comments on commit bba073c

Please sign in to comment.
You can’t perform that action at this time.