Commit 772701ea authored by pookey's avatar pookey

formatting changes to run.php

parent 2274554e
......@@ -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>';
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment