From ba98dfcda1e4d3489ee1de2c4eb92d4fdddb5377 Mon Sep 17 00:00:00 2001 From: Alan Knowles Date: Fri, 24 Aug 2018 15:09:22 +0800 Subject: [PATCH] Process/Php7.php --- Process/Php7.php | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/Process/Php7.php b/Process/Php7.php index b86f1a0b..05b166b0 100644 --- a/Process/Php7.php +++ b/Process/Php7.php @@ -18,8 +18,7 @@ class Pman_Core_Process_Php7 extends Pman function getAuth() { - var_Dump($this); - if (empty($this->cli)) { + if (empty($this->bootLoader->cli)) { die("CLI only"); } @@ -27,7 +26,7 @@ class Pman_Core_Process_Php7 extends Pman function get($base, $opts = array()) { - $base = realpath(__DIR__ . '/../..'); + $base = realpath(__DIR__ . '/..'); var_dump($base); exit; $this->scan($base, ''); -- 2.39.2