mirror of
https://github.com/wintercms/winter.git
synced 2024-06-28 05:33:29 +02:00
22 lines
361 B
PHP
22 lines
361 B
PHP
<?php
|
|
|
|
/*
|
|
* October autoloader
|
|
*/
|
|
require __DIR__ . '/../bootstrap/autoload.php';
|
|
|
|
/*
|
|
* Fallback autoloader
|
|
*/
|
|
$loader = new October\Rain\Support\ClassLoader(
|
|
new October\Rain\Filesystem\Filesystem,
|
|
__DIR__ . '../',
|
|
__DIR__ . '../storage/framework/classes.php'
|
|
);
|
|
|
|
$loader->register();
|
|
$loader->addDirectories([
|
|
'modules',
|
|
'plugins'
|
|
]);
|