@@ -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; |
@@ -169,6 +169,9 @@ |
||
169 | 169 | self::runCommand($event, 'chmod +a "$USER allow delete,write,append,file_inherit,directory_inherit" %path%', $path); |
170 | 170 | } |
171 | 171 | |
172 | + /** |
|
173 | + * @param string $command |
|
174 | + */ |
|
172 | 175 | public static function runCommand(Event $event, $command, $path) { |
173 | 176 | return self::runProcess($event, str_replace(['%httpduser%', '%path%'], [self::getHttpdUser($event), $path], $command)); |
174 | 177 | } |