- <?php
- define("TEST_ROOT", dirname(__FILE__) . '/');
- function testAutoloader($class)
- {
- if(file_exists(TEST_ROOT . $class . '.class.php'))
- {
- require_once TEST_ROOT . $class . '.class.php';
- }
- }
- spl_autoload_register("testAutoloader");
- require_once "../config.inc.php";
|