1
0
mirror of synced 2025-01-18 14:31:40 +03:00
doctrine2/manual/codes/Getting started - Installation.php

15 lines
310 B
PHP
Raw Normal View History

2006-07-23 21:08:06 +00:00
<?php
2006-08-29 20:37:55 +00:00
require_once("path-to-doctrine/Doctrine.php");
2006-07-23 21:08:06 +00:00
// autoloading objects
function __autoload($class) {
Doctrine::autoload($class);
}
2006-08-29 20:37:55 +00:00
// registering an autoload function, useful when multiple
// frameworks are using __autoload()
2006-07-23 21:08:06 +00:00
2006-08-29 20:37:55 +00:00
spl_autoload_register(array('Doctrine', 'autoload'));
2006-07-23 21:08:06 +00:00
?>