Index

mail@pastecode.io avatar
unknown
php
a year ago
318 B
1
Indexable
Never
<?php
session_start();
require 'config.php';
require_once __DIR__ . '/vendor/autoload.php';

spl_autoload_register(function($class){
    if (file_exists('modules/' . $class . '/' . $class . '.php')) {
        require 'modules/' . $class . '/' . $class . '.php';
    }
});

Core::getInstance()->run($config);