diff options
| author | lsces <lester@lsces.co.uk> | 2013-09-23 21:03:49 +0100 |
|---|---|---|
| committer | lsces <lester@lsces.co.uk> | 2013-09-23 21:03:49 +0100 |
| commit | 61fd428ea9bd5d5ec51ea6fc7e2710edd912a405 (patch) | |
| tree | 3249946a97dfd240a4a668133fc600127a86df97 | |
| parent | 5fa79afa09d2ea419653e29d96150e3b54ed167c (diff) | |
| download | install-61fd428ea9bd5d5ec51ea6fc7e2710edd912a405.tar.gz install-61fd428ea9bd5d5ec51ea6fc7e2710edd912a405.tar.bz2 install-61fd428ea9bd5d5ec51ea6fc7e2710edd912a405.zip | |
Allow install to run
| -rw-r--r-- | install_packages.php | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/install_packages.php b/install_packages.php index 2216f66..cd85329 100644 --- a/install_packages.php +++ b/install_packages.php @@ -40,6 +40,8 @@ if( !empty( $_REQUEST['cancel'] ) ) { // shorthand for the actions we are supposed to perform during an unistall or re-install $removeActions = !empty( $_REQUEST['remove_actions'] ) ? $_REQUEST['remove_actions'] : array(); + // Override reinstall/uninstall flag + if ( $_REQUEST['submit_packages'] == 'Install Packages' ) $_REQUEST['method'] = 'install'; // make sure that required pkgs are only present when we are installing if(( $method = ( $_REQUEST['method'] )) == 'install' && !$_SESSION['first_install'] ) { // make sure no required packages are included in this list |
