mirror of
https://github.com/silverstripe/silverstripe-reports
synced 2024-10-22 11:05:53 +02:00
FIX: dir should be folder name.
This commit is contained in:
parent
2185dda154
commit
649bb572e5
@ -1,3 +1,6 @@
|
|||||||
<?php
|
<?php
|
||||||
|
|
||||||
define('REPORTS_DIR', dirname(dirname(__FILE__)));
|
$path = explode(DIRECTORY_SEPARATOR, dirname(__FILE__));
|
||||||
|
$dir = $path[count($path) - 1];
|
||||||
|
|
||||||
|
define('REPORTS_DIR', $dir);
|
Loading…
Reference in New Issue
Block a user