* PHP page : Simple empty page, used to refresh scripts count * * @package Automne * @subpackage admin * @author Sébastien Pauchet <*****@*****.**> */ require_once dirname(__FILE__) . '/../../cms_rc_admin.php'; //load interface instance $view = CMS_view::getInstance(); //set default display mode for this page $view->setDisplayMode(CMS_view::SHOW_XML); //This file is an admin file. Interface must be secure $view->setSecure(); //if we do not use background regenerator, then it is time to run pending scripts if (!USE_BACKGROUND_REGENERATOR) { CMS_scriptsManager::runQueuedScripts(); } define("MESSAGE_PAGE_ACTION_SCRIPTS_LEFT_NONE", 10); define("MESSAGE_PAGE_SCRIPTS_IN_PROGRESS", 735); define("MESSAGE_PAGE_SCRIPTS_IN_PROGRESS_PID_OK", 736); define("MESSAGE_PAGE_NO_SCRIPTS_PID_OK", 737); define("MESSAGE_PAGE_SCRIPTS_END_PID_OK", 738); define("MESSAGE_PAGE_NO_SCRIPTS_IN_PROGRESS", 739); define("MESSAGE_PAGE_NO_SCRIPTS_QUEUED", 740); //Controler vars $details = sensitiveIO::request('details') == 'true' ? true : false; $queue = sensitiveIO::request('queue') == 'true' ? true : false; $xmlcontent = $detailsContent = $queueContent = ''; if ($details) { $runningScripts = processManager::getRunningScript(); if (is_array($runningScripts) && sizeof($runningScripts)) {