Process/Php7.php
authorAlan Knowles <alan@roojs.com>
Fri, 24 Aug 2018 07:09:22 +0000 (15:09 +0800)
committerAlan Knowles <alan@roojs.com>
Fri, 24 Aug 2018 07:09:22 +0000 (15:09 +0800)
Process/Php7.php

index b86f1a0..05b166b 100644 (file)
@@ -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, '');