mirror of
https://github.com/parsecsv/parsecsv-for-php.git
synced 2026-02-19 08:36:39 +00:00
PHPUnit: simplified Bootstrap.php without changing functionality.
Notes: - Using / on Windows is safe. - __DIR__ is identical to dirname(__FILE)
This commit is contained in:
@@ -1,6 +1,6 @@
|
|||||||
<?php
|
<?php
|
||||||
|
|
||||||
$dir = realpath(dirname(__FILE__));
|
$dir = realpath(__DIR__);
|
||||||
defined('BASE') OR define('BASE', realpath($dir.'/../').DIRECTORY_SEPARATOR);
|
defined('BASE') OR define('BASE', dirname($dir) . '/');
|
||||||
|
|
||||||
require_once BASE.'parsecsv.lib.php';
|
require_once BASE . 'parsecsv.lib.php';
|
||||||
|
|||||||
Reference in New Issue
Block a user