tiny-slitaz diff step4.php @ rev 5
refresh
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Wed Oct 07 23:37:02 2015 +0200 (2015-10-07) |
parents | 55f97ee147e8 |
children | ac214416e736 |
line diff
1.1 --- a/step4.php Fri Mar 23 19:37:38 2012 +0100 1.2 +++ b/step4.php Wed Oct 07 23:37:02 2015 +0200 1.3 @@ -17,7 +17,7 @@ 1.4 } 1.5 1.6 $output = ''; 1.7 -if (isset($_POST['toconfigure']) && $_POST['toconfigure'] != "") { 1.8 +if (!empty($_POST['toconfigure'])) { 1.9 $pkgs = explode(" ",$_POST['toconfigure']); 1.10 foreach ($pkgs as $key => $pkg) { 1.11 shell_exec("sudo ./helper --pre-install $pkg ".$_POST['tmp_dir']);