My first commit of codes

This commit is contained in:
sujitprasad
2015-05-01 13:13:01 +05:30
parent 4c8e5096f1
commit a6e5a69348
8487 changed files with 1317246 additions and 0 deletions

View File

@@ -0,0 +1,18 @@
<?php
error_reporting(-1);
date_default_timezone_set('UTC');
/**
* Path trickery ensures test suite will always run, standalone or within
* another composer package. Designed to find composer autoloader and require
*/
$vendorPos = strpos(__DIR__, 'vendor/vlucas/phpdotenv');
if($vendorPos !== false) {
// Package has been cloned within another composer package, resolve path to autoloader
$vendorDir = substr(__DIR__, 0, $vendorPos) . 'vendor/';
$loader = require $vendorDir . 'autoload.php';
} else {
// Package itself (cloned standalone)
$loader = require __DIR__.'/../vendor/autoload.php';
}