eee
This commit is contained in:
@@ -83,6 +83,9 @@ class Scanner extends Component
|
|||||||
{
|
{
|
||||||
try {
|
try {
|
||||||
require_once "$path";
|
require_once "$path";
|
||||||
|
if (!isset($_SERVER['PWD'])) {
|
||||||
|
$_SERVER['PWD'] = APP_PATH;
|
||||||
|
}
|
||||||
$path = str_replace($_SERVER['PWD'], '', $path);
|
$path = str_replace($_SERVER['PWD'], '', $path);
|
||||||
$path = str_replace('.php', '', $path);
|
$path = str_replace('.php', '', $path);
|
||||||
$this->parseFile($path);
|
$this->parseFile($path);
|
||||||
|
|||||||
Reference in New Issue
Block a user