PHP Classes

File: tests/bootstrap.php

Recommend this page to a friend!
  Classes of Karim Ratib   Esri Grid   tests/bootstrap.php   Download  
File: tests/bootstrap.php
Role: Auxiliary script
Content type: text/plain
Description: Auxiliary script
Class: Esri Grid
Parse Esri Grid ASCII GIS files
Author: By
Last change: Update of tests/bootstrap.php
Date: 2 months ago
Size: 378 bytes
 

Contents

Class file image Download
<?php
function loaderTestAutoloader($sClass)
{
 
$sLibPath = __DIR__.'/../lib/';
 
$sClassFile = str_replace('\\',DIRECTORY_SEPARATOR,$sClass).'.php';
 
$sClassPath = $sLibPath.$sClassFile;

  if (
file_exists($sClassPath)) {
    require(
$sClassPath);
  }
}

chdir(__DIR__.'/..');
spl_autoload_register('loaderTestAutoloader');
error_reporting(-1);
ini_set('display_errors', 1);