PHP Classes

File: core/autoload/autoload.php

Recommend this page to a friend!
  Classes of Yerfry Ramirez   Simple PHP OOP CMS   core/autoload/autoload.php   Download  
File: core/autoload/autoload.php
Role: Auxiliary script
Content type: text/plain
Description: Autoloader
Class: Simple PHP OOP CMS
Build Web site pages from template classes
Author: By
Last change: None
Date: 9 years ago
Size: 106 bytes
 

Contents

Class file image Download
<?php
spl_autoload_register
(function($class) {
    require_once
"core/classes/{$class}.class.php";
});
?>