summaryrefslogtreecommitdiff
path: root/migrate.php
diff options
context:
space:
mode:
authorLester Caine <lester@lsces.co.uk>2026-05-14 09:54:15 +0100
committerLester Caine <lester@lsces.co.uk>2026-05-14 09:54:15 +0100
commiteddcb429ad24572676fce289fcae645178a185ba (patch)
treede370ace1f2ad37cde7bd14f5180f942fed16ccf /migrate.php
parent70d2c5630264b09b8c5df8324b1895365ed74628 (diff)
downloadinstall-eddcb429ad24572676fce289fcae645178a185ba.tar.gz
install-eddcb429ad24572676fce289fcae645178a185ba.tar.bz2
install-eddcb429ad24572676fce289fcae645178a185ba.zip
php-cs-fixer tidies to php8.5 standards
Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
Diffstat (limited to 'migrate.php')
-rwxr-xr-xmigrate.php4
1 files changed, 2 insertions, 2 deletions
diff --git a/migrate.php b/migrate.php
index 3df2c8c..5faba1a 100755
--- a/migrate.php
+++ b/migrate.php
@@ -35,9 +35,9 @@ $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 ||
- !isset( $_SERVER['HTTP_REFERER'] ) ||
+ !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' ) ) )
+ ( ( !strpos( $_SERVER['HTTP_REFERER'],'install/install.php' ) ) && ( !strpos( $_SERVER['HTTP_REFERER'],'install/upgrade.php' ) ) && ( !strpos( $_SERVER['HTTP_REFERER'],'install/migrate.php' ) ) )
) {
header( 'Location: '.INSTALL_PKG_URL.'install.php' );
die;