PHP Classes
elePHPant
Icontem

File: php/autoloader.php

Recommend this page to a friend!
  Classes of Patrick Van Bergen  >  Move Me GIF  >  php/autoloader.php  >  Download  
File: php/autoloader.php
Role: Auxiliary script
Content type: text/plain
Description: Auxiliary script
Class: Move Me GIF
Create animated GIF images in pure PHP
Author: By
Last change:
Date: 3 years ago
Size: 225 bytes
 

Contents

Class file image Download
<?php

/**
 * @author Patrick van Bergen
 */

spl_autoload_register(function($class) {

   
$path = __DIR__ . '/' . str_replace('\\', '/', $class) . '.php';

    if (
file_exists($path)) {
        require_once
$path;
    }
});