PHP Classes

File: Config/load.php

Recommend this page to a friend!
  Classes of Alex Dan   Expressions   Config/load.php   Download  
File: Config/load.php
Role: Auxiliary script
Content type: text/plain
Description: Expression Example autoload file
Class: Expressions
Parse, convert and evaluate math expressions
Author: By
Last change:
Date: 12 years ago
Size: 307 bytes
 

Contents

Class file image Download
<?php
include 'config.php';
include
APP_PATH.'/Lib/functions.php';

$autoloadCallbacks = spl_autoload_functions();
if (!
$autoloadCallbacks) {
   
$toRegister = true;
} else {
   
$toRegister = !in_array('_autoload', $autoloadCallbacks);
}

if (
$toRegister) {
   
spl_autoload_register('_autoload');
}