Commit 643650f7 authored by meus's avatar meus

fixed misspelling

parent 5c5e2a6a
...@@ -60,7 +60,7 @@ Now lets say these classes are in directory 'models/'. We can make Doctrine to i ...@@ -60,7 +60,7 @@ Now lets say these classes are in directory 'models/'. We can make Doctrine to i
require_once('path-to-doctrine/lib/Doctrine.php'); require_once('path-to-doctrine/lib/Doctrine.php');
spl_register_autoload(array('Doctrine', 'autoload')); spl_autoload_register(array('Doctrine', 'autoload'));
Doctrine::export('models'); Doctrine::export('models');
</code> </code>
...@@ -85,7 +85,7 @@ There might be situations where you don't want to execute the export queries imm ...@@ -85,7 +85,7 @@ There might be situations where you don't want to execute the export queries imm
<code type='php'> <code type='php'>
require_once('path-to-doctrine/lib/Doctrine.php'); require_once('path-to-doctrine/lib/Doctrine.php');
spl_register_autoload(array('Doctrine', 'autoload')); spl_autoload_register(array('Doctrine', 'autoload'));
$queries = Doctrine::exportSql('models'); $queries = Doctrine::exportSql('models');
......
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