Commit ba737729 authored by romanb's avatar romanb

Fixes to the compiler.

parent 9589f486
...@@ -40,12 +40,10 @@ class Doctrine_Compiler { ...@@ -40,12 +40,10 @@ class Doctrine_Compiler {
"Manager", "Manager",
"Table", "Table",
"Table_Exception", "Table_Exception",
"Iterator",
"Exception", "Exception",
"Null", "Null",
"Identifier", "Identifier",
"Repository",
"Record", "Record",
"Record_Exception", "Record_Exception",
"Record_Iterator", "Record_Iterator",
......
...@@ -15,6 +15,8 @@ set_include_path(get_include_path() . PATH_SEPARATOR . $doctrineBaseDir); ...@@ -15,6 +15,8 @@ set_include_path(get_include_path() . PATH_SEPARATOR . $doctrineBaseDir);
require_once 'Doctrine.php'; require_once 'Doctrine.php';
require_once 'Doctrine/Compiler.php'; require_once 'Doctrine/Compiler.php';
spl_autoload_register(array('Doctrine', 'autoload'));
echo "Bundling classes ..." . PHP_EOL; echo "Bundling classes ..." . PHP_EOL;
Doctrine_Compiler::compile($targetDir); Doctrine_Compiler::compile($targetDir);
......
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