Conditions | 2 |
Paths | 2 |
Total Lines | 9 |
Code Lines | 4 |
Lines | 0 |
Ratio | 0 % |
Changes | 1 | ||
Bugs | 0 | Features | 1 |
1 | <?php |
||
13 | public function handle() |
||
14 | { |
||
15 | $this->alert('delete Mongicommerce admin template assets...'); |
||
16 | |||
17 | #Public path |
||
18 | if (file_exists(public_path('/mongicommerce/template/admin'))) { |
||
19 | File::deleteDirectory(public_path('/mongicommerce/template/admin')); |
||
20 | } |
||
21 | $this->alert('Terminate successfully'); |
||
22 | } |
||
24 |