From 643650f75101ed13ece7eab640d939f4c9c560d1 Mon Sep 17 00:00:00 2001 From: meus Date: Thu, 21 Jun 2007 13:45:54 +0000 Subject: [PATCH] fixed misspelling --- manual/new/docs/en/getting-started.txt | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/manual/new/docs/en/getting-started.txt b/manual/new/docs/en/getting-started.txt index 20fc381af..e65c9c676 100644 --- a/manual/new/docs/en/getting-started.txt +++ b/manual/new/docs/en/getting-started.txt @@ -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'); -spl_register_autoload(array('Doctrine', 'autoload')); +spl_autoload_register(array('Doctrine', 'autoload')); Doctrine::export('models'); @@ -85,7 +85,7 @@ There might be situations where you don't want to execute the export queries imm require_once('path-to-doctrine/lib/Doctrine.php'); -spl_register_autoload(array('Doctrine', 'autoload')); +spl_autoload_register(array('Doctrine', 'autoload')); $queries = Doctrine::exportSql('models');