1
0
mirror of synced 2024-12-13 14:56:01 +03:00

formatting changes to run.php

This commit is contained in:
pookey 2007-04-18 19:28:21 +00:00
parent 2274554e36
commit 772701eaa3

View File

@ -35,24 +35,24 @@ function autoload($class) {
file_put_contents($file, $contents);
}
require_once($file);
return true;
}
// include doctrine, and register it's autoloader
require_once dirname(__FILE__) . '/../lib/Doctrine.php';
spl_autoload_register(array('Doctrine', 'autoload'));
// register the autoloader function above
spl_autoload_register('autoload');
require_once dirname(__FILE__) . '/../models/location.php';
require_once('classes.php');
require_once dirname(__FILE__) . '/classes.php';
require_once dirname(__FILE__) . '/../vendor/simpletest/unit_tester.php';
require_once dirname(__FILE__) . '/../vendor/simpletest/reporter.php';
require_once('UnitTestCase.php');
require_once('DriverTestCase.php');
require_once dirname(__FILE__) . '/UnitTestCase.php';
require_once dirname(__FILE__) . '/DriverTestCase.php';
error_reporting(E_ALL);
print '<pre>';