1
0
mirror of synced 2025-01-18 06:21:40 +03:00

fixed misspelling

This commit is contained in:
meus 2007-06-21 13:45:54 +00:00
parent 5c5e2a6a7f
commit 643650f751

View File

@ -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
<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');