=') ? Configuration::getGlobalValue('PM_AS4_SECURE_KEY') : Configuration::get('PM_AS4_SECURE_KEY')); if (!empty($secureKey) AND $secureKey === $_GET['secure_key']) { $PM_AdvancedSearch4 = new PM_AdvancedSearch4(); $PM_AdvancedSearch4->cronTask(); echo 'Reindexation done'; } } } else { $PM_AdvancedSearch4 = new PM_AdvancedSearch4(); $PM_AdvancedSearch4->cronTask(); echo 'Reindexation done via PHP Cli'; }