imgmongelli /
mongicommerce
| 1 | <?php |
||
| 2 | |||
| 3 | |||
| 4 | namespace Mongi\Mongicommerce\Http\Controllers\admin; |
||
| 5 | |||
| 6 | |||
| 7 | use Illuminate\Support\Facades\Artisan; |
||
| 8 | use Mongi\Mongicommerce\Http\Controllers\Controller; |
||
| 9 | |||
| 10 | class AdminUpdatePackageController extends Controller |
||
| 11 | { |
||
| 12 | public function update(){ |
||
| 13 | #$dd = shell_exec('cd .. && composer update mongi/mongicommerce'); |
||
| 14 | $dd = shell_exec('cd .. && php artisan mongicommerce:update'); |
||
| 15 | echo '<pre>'; |
||
| 16 | var_dump($dd); |
||
|
0 ignored issues
–
show
Security
Debugging Code
introduced
by
Loading history...
|
|||
| 17 | echo '</pre>'; |
||
| 18 | } |
||
| 19 | } |
||
| 20 |