From 3a2f241b84ac6b6a05b5c4278d12447e2e435ec1 Mon Sep 17 00:00:00 2001 From: Edward Date: Wed, 21 Nov 2018 17:27:59 +0800 Subject: [PATCH] Process/Php7.php --- Process/Php7.php | 44 +------------------------------------------- 1 file changed, 1 insertion(+), 43 deletions(-) diff --git a/Process/Php7.php b/Process/Php7.php index 8733aa24..9805cae7 100644 --- a/Process/Php7.php +++ b/Process/Php7.php @@ -77,49 +77,7 @@ class Pman_Core_Process_Php7 extends Pman } } - -// function scan($p, $pr, $path = false) -// { -// $full_path = array($p, $pr); -// $class_path = array(); -// if ($path !== false) { -// $full_path = array_merge($full_path, $path); -// $class_path = array_merge($class_path, $path); -// } -// //print_r("CHKDIR: ". implode('/', $full_path)."\n"); -// -// foreach (scandir(implode('/', $full_path)) as $d) { -// -// if (!strlen($d) || $d[0] == '.') { -// continue; -// } -// $chk = $full_path; -// $chk[] = $d; -// -// $clp = $class_path; -// -// -// -// //print_r("CHK: " . implode('/', $chk)."\n"); -// // is it a file.. and .PHP... -// if (!is_dir(implode('/', $chk))) { -// if (!preg_match('/\.php$/', $d)) { -// continue; -// } -// $clp[] = preg_replace('/\.php$/', '', $d); -// -// //print_r("CLP: " . implode('/', $clp)."\n"); -// require_once "Pman/" . implode('/', $clp) . '.php'; -// continue; -// } -// $clp[] = $d; -// // otherwise recurse... -// //print_r("RECURSE: " . implode('/', $clp)."\n"); -// -// $this->scan($p, $pr, $clp); -// } -// } - + function output() { die("DONE"); -- 2.39.2