FILES: appCacheViewAjax.php appCacheViewConf.php appearance.php calendarDelete.php calendarEdit.php calendarList.php calendarSave.php calendarValidate.php calendar_Ajax.php clearCompiled.php clearCompiledAjax.php connectionDB.php connectionWS.php cron.php cronAjax.php customFunctions.php debug.php deleteSessions.php emailSystemCron.php emailSystemSpool.php emailSystemTest.php emails.php emails_Ajax.php emails_Save.php environmentSettings.php environmentSettingsAjax.php
40 lines
1.6 KiB
PHP
Executable File
40 lines
1.6 KiB
PHP
Executable File
<?php
|
|
// header('Pragma: no-cache');
|
|
// header('Cache-Control: no-store, no-cache, must-revalidate');
|
|
|
|
|
|
$oHeadPublisher = & headPublisher::getSingleton();
|
|
//$oHeadPublisher->setExtSkin( 'xtheme-blue');
|
|
|
|
|
|
$oHeadPublisher->addExtJsScript( 'setup/appCacheViewConf', false ); //adding a javascript file .js
|
|
$oHeadPublisher->addContent( 'setup/appCacheViewConf' ); //adding a html file .html.
|
|
|
|
|
|
require_once ('classes/model/AppCacheView.php');
|
|
G::loadClass( 'configuration' );
|
|
$oConf = new Configurations();
|
|
$oConf->loadConfig( $x, 'APP_CACHE_VIEW_ENGINE', '', '', '', '' );
|
|
|
|
//first check about APP_CACHE_VIEW is enabled or not,
|
|
if (isset( $oConf->aConfig['LANG'] ) && isset( $oConf->aConfig['STATUS'] ) && $oConf->aConfig['STATUS'] == 'active') {
|
|
$appCacheViewEnabled = true;
|
|
} else {
|
|
$appCacheViewEnabled = false;
|
|
}
|
|
$lang = isset( $oConf->aConfig['LANG'] ) ? $oConf->aConfig['LANG'] : 'en';
|
|
|
|
//$oHeadPublisher->assign('appCacheViewEnabled', $appCacheViewEnabled);
|
|
|
|
|
|
$labels = G::getTranslations( Array ('ID_PROCESSING','ID_CACHE_LANGUAGE','ID_CACHE_HOST','ID_CACHE_USER','ID_CACHE_PASSWORD','ID_CACHE_TITLE_INFO','ID_CACHE_SUBTITLE_REBUILD','ID_CACHE_BTN_BUILD','ID_CACHE_BUILDING','ID_CACHE_SUBTITLE_SETUP_DB','ID_CACHE_BTN_SETUP_PASSWRD','ID_CACHE_SUBTITLE_SETUP_SESSION','ID_CACHE_BTN_SETUP_SESSION'
|
|
) );
|
|
// $oHeadPublisher->assign('TRANSLATIONS', $labels);
|
|
// $TRANSLATIONS->ID_PROCESSING = G::LoadTranslation('ID_PROCESSING');
|
|
// $oHeadPublisher->assign( 'TRANSLATIONS', $TRANSLATIONS); //translations
|
|
$oHeadPublisher->assign( 'currentLang', $lang ); //current language
|
|
|
|
|
|
G::RenderPage( 'publish', 'extJs' );
|
|
|