PHP Classes

File: app/__autoload.php

Recommend this page to a friend!
  Classes of Oleg Lunegov   MicroPHP Framework   app/__autoload.php   Download  
File: app/__autoload.php
Role: Configuration script
Content type: text/plain
Description: runner application
Class: MicroPHP Framework
MVC framework for Web or command line applications
Author: By
Last change: Update of app/__autoload.php
Date: 9 months ago
Size: 349 bytes
 

Contents

Class file image Download
<?php

require __DIR__ . '/../vendor/autoload.php';
require
__DIR__ . '/../vendor/linpax/microphp-framework/src/base/Autoload.php';

spl_autoload_register(['\Micro\Base\Autoload', 'loader'], true, false);

\
Micro\Base\Autoload::setAlias('Micro', __DIR__ . '/../vendor/linpax/microphp-framework/src');
\
Micro\Base\Autoload::setAlias('App', __DIR__);