PHP Classes

File: demos/autoload.php

Recommend this page to a friend!
  Classes of Johnny Mast   PHP Filters and Actions   demos/autoload.php   Download  
File: demos/autoload.php
Role: Auxiliary script
Content type: text/plain
Description: Auxiliary script
Class: PHP Filters and Actions
Listen to events and execute registered actions
Author: By
Last change:
Date: 5 years ago
Size: 260 bytes


Class file image Download
 * We want to make sure we load the correct autoloader
 * where ever we are.
if (is_file(__DIR__ . '/../vendor/autoload.php')) {
__DIR__ . '/../vendor/autoload.php';
} else {
__DIR__ . '/../../../autoload.php';