PHP Classes

File: examples/autoload.php

Recommend this page to a friend!
  Classes of Johnny Mast   Redbox Hydrate   examples/autoload.php   Download  
File: examples/autoload.php
Role: Auxiliary script
Content type: text/plain
Description: Auxiliary script
Class: Redbox Hydrate
Popular object variables from array data
Author: By
Last change: Update of examples/autoload.php
Date: 1 year ago
Size: 306 bytes
 

Contents

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