PHP Classes

File: config/autoload.php

Recommend this page to a friend!
  Classes of Laudir Bispo   PHP Real Estate Website   config/autoload.php   Download  
File: config/autoload.php
Role: Auxiliary script
Content type: text/plain
Description: Auxiliary script
Class: PHP Real Estate Website
Manage the properties of a real estate business
Author: By
Last change:
Date: 3 years ago
Size: 173 bytes
 

Contents

Class file image Download
<?php

spl_autoload_register
(function ($class)
{
 
$class = str_replace('\\', '/', $class);
  require_once(
$_SERVER['DOCUMENT_ROOT'].'/'.$class.'.class.php');
   
});