diff --git a/_upgrade.php b/_upgrade.php index ee83932..c040121 100755 --- a/_upgrade.php +++ b/_upgrade.php @@ -12,9 +12,13 @@ use FeatherBB\Core\AdminUtils; // Make sure no one attempts to run this script "directly" -if (isset($feather)) { +if (isset($upgrade_script)) { + echo "plugin upgrade script"; // Check if 'style' folder from version <= 0.2.2 exists if (is_dir(__DIR__.'/style')) { AdminUtils::delete_folder(__DIR__.'/style'); } } +else { + echo "no feather"; +}