Login   Register  
PHP Classes
elePHPant
Icontem

File: tests/bootstrap.php

Recommend this page to a friend!
Stumble It! Stumble It! Bookmark in del.icio.us Bookmark in del.icio.us
  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:
Date: 9 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);