From 4dcd097f7f1568026fdfd7e9ea896fb1494eb246 Mon Sep 17 00:00:00 2001 From: Edward Date: Wed, 21 Nov 2018 17:50:35 +0800 Subject: [PATCH] Process/Php7.php --- Process/Php7.php | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/Process/Php7.php b/Process/Php7.php index 56fdae9b..f777be64 100644 --- a/Process/Php7.php +++ b/Process/Php7.php @@ -53,12 +53,13 @@ class Pman_Core_Process_Php7 extends Pman continue; } - if (is_dir($d)) { + if (is_dir("{$dir}/{$d}")) { echo "directory : {$d}\n"; $this->scan(array_merge($route, array($d))); continue; } + echo "get file {$d}\n"; if (!preg_match('/\.php$/', $d)) { continue; } -- 2.39.2