File: autoload.php

package info (click to toggle)
symfony 2.3.21%2Bdfsg-4
  • links: PTS, VCS
  • area: main
  • in suites: jessie-kfreebsd
  • size: 31,028 kB
  • sloc: php: 162,090; xml: 2,839; sh: 422; sql: 246; makefile: 78
file content (9 lines) | stat: -rw-r--r-- 314 bytes parent folder | download | duplicates (2)
1
2
3
4
5
6
7
8
9
<?php
set_include_path('./src' . PATH_SEPARATOR . get_include_path());
require_once 'Symfony/Component/ClassLoader/ClassLoader.php';
require_once 'propel/Propel.php';
use Symfony\Component\ClassLoader\ClassLoader;
$loader = new ClassLoader();
$loader->setUseIncludePath(true);
$loader->register();
return $loader;