@@ -92,8 +92,6 @@ |
||
92 | 92 | /** |
93 | 93 | * adds a requirement into the loader and registers it as a page with the router |
94 | 94 | * |
95 | - * @param string $function php function name or class.class_name |
|
96 | - * @param string $path source file path |
|
97 | 95 | */ |
98 | 96 | public function add_public_path($page, $source) { |
99 | 97 | $this->public_routes['/'.$page] = $source; |
@@ -165,6 +165,9 @@ |
||
165 | 165 | self::runCommand('chmod +a "$USER allow delete,write,append,file_inherit,directory_inherit" %path%', $path); |
166 | 166 | } |
167 | 167 | |
168 | + /** |
|
169 | + * @param string $command |
|
170 | + */ |
|
168 | 171 | public static function runCommand($command, $path) { |
169 | 172 | return self::runProcess(str_replace(['%httpduser%', '%path%'], [self::getHttpdUser(), $path], $command)); |
170 | 173 | } |