PHP Classes

File: tests/bootstrap.php

Recommend this page to a friend!
  Classes of Nikola Posa  >  EasyLogger  >  tests/bootstrap.php  >  Download  
File: tests/bootstrap.php
Role: Unit test script
Content type: text/plain
Description: Tests bootstrap
Class: EasyLogger
Log events to files
Author: By
Last change:
Date: 8 years ago
Size: 410 bytes


Class file image Download
//PHP settings
error_reporting(E_ALL ^ E_NOTICE ^ E_USER_NOTICE);
ini_set('display_errors', 1);

//Setting include path
$root = realpath(dirname(__FILE__) . '/..');
$library = $root . '/library';
$tests = $root . '/tests';
$path = array(
set_include_path(implode(PATH_SEPARATOR, $path));

//Unset global variables
unset($root, $library, $tests, $path);

For more information send a message to info at phpclasses dot org.