You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
19 lines
503 B
19 lines
503 B
<?php
|
|
/* Autoloader for dev-php/twig */
|
|
|
|
if (!class_exists('Twig_Autoloader', false)) {
|
|
// polyfill for old code
|
|
class Twig_Autoloader {
|
|
public static function register(){}
|
|
public static function autoload(){}
|
|
}
|
|
}
|
|
|
|
if (!class_exists('Fedora\\Autoloader\\Autoload', false)) {
|
|
require_once '/usr/share/php/Fedora/Autoloader/autoload.php';
|
|
}
|
|
|
|
\Fedora\Autoloader\Autoload::addPsr0('Twig_', __DIR__.'/lib');
|
|
\Fedora\Autoloader\Autoload::addPsr4('Twig\\', __DIR__.'/src');
|
|
|