mirror of
https://github.com/parsecsv/parsecsv-for-php.git
synced 2026-02-19 00:36:38 +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
|
||||
|
||||
$dir = realpath(dirname(__FILE__));
|
||||
defined('BASE') OR define('BASE', realpath($dir.'/../').DIRECTORY_SEPARATOR);
|
||||
$dir = realpath(__DIR__);
|
||||
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