1
0
mirror of synced 2024-12-13 14:56:01 +03:00
doctrine2/manual/codes/Getting started - Installation.php
2006-08-29 20:37:55 +00:00

15 lines
310 B
PHP

<?php
require_once("path-to-doctrine/Doctrine.php");
// autoloading objects
function __autoload($class) {
Doctrine::autoload($class);
}
// registering an autoload function, useful when multiple
// frameworks are using __autoload()
spl_autoload_register(array('Doctrine', 'autoload'));
?>