diff options
| author | lsces <lester@lsces.co.uk> | 2026-04-05 15:29:16 +0100 |
|---|---|---|
| committer | lsces <lester@lsces.co.uk> | 2026-04-05 15:29:16 +0100 |
| commit | 516dfc95fcd3558e4dc205f2a2b87b44bf47c4a8 (patch) | |
| tree | 4e5bff0c166142bcd0f1841a3ad6ff14bcd1c260 /migrate.php | |
| parent | a285cd4a2b73315a874627faa9d28ddb538f26da (diff) | |
| download | install-516dfc95fcd3558e4dc205f2a2b87b44bf47c4a8.tar.gz install-516dfc95fcd3558e4dc205f2a2b87b44bf47c4a8.tar.bz2 install-516dfc95fcd3558e4dc205f2a2b87b44bf47c4a8.zip | |
It does help if you stage changes from the right machine. This is the rework of the installer for namespace and php8.4
Diffstat (limited to 'migrate.php')
| -rwxr-xr-x[-rw-r--r--] | migrate.php | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/migrate.php b/migrate.php index 38371e9..3df2c8c 100644..100755 --- a/migrate.php +++ b/migrate.php @@ -34,7 +34,7 @@ $install_file[$i]['name'] = 'Migration Complete'; // currently i can't think of a better way to secure the migrate pages // redirect to the installer if we aren't sent here by the installer and the migrate session variable hasn't been set -if( !isset( $_SESSION['migrate'] ) || $_SESSION['migrate'] != TRUE || +if( !isset( $_SESSION['migrate'] ) || $_SESSION['migrate'] != true || !isset( $_SERVER['HTTP_REFERER'] ) || isset( $_SERVER['HTTP_REFERER'] ) && ( ( !strpos( $_SERVER['HTTP_REFERER'],'install/install.php' ) ) && ( !strpos( $_SERVER['HTTP_REFERER'],'install/upgrade.php' ) ) && ( !strpos( $_SERVER['HTTP_REFERER'],'install/migrate.php' ) ) ) @@ -54,5 +54,3 @@ $gBitSmarty->assign( 'section', 'Upgrade' ); $gBitSmarty->assign( 'install_file', INSTALL_PKG_PATH."templates/migrate_".$install_file[$step]['file'].$app.".tpl" ); $gBitInstaller->in_display( $install_file[$step]['name'], INSTALL_PKG_PATH.'templates/install.tpl' ); - -?> |
