пятница, 8 февраля 2013 г.

гидролокатора бокового обзора

require_once( $mosConfig_absolute_path .'/includes/frontend.php' );

require_once( $mosConfig_absolute_path .'/includes/sef.php' );

require_once( $mosConfig_absolute_path .'/components/com_sef/sef.php' );

if (file_exists( $mosConfig_absolute_path .'/components/com_sef/sef.php' )) {

// триггер событий onStart

// загрузка группы системного бота

require( $mosConfig_absolute_path .'/offline.php' );

if ($mosConfig_offline == 1) {

// отображение страницы выключенного сайта

include ( $mosConfig_absolute_path .'/offline.php');

define( '_INSTALL_CHECK', 1 );

//Проверка подпаки установки, удалена при работе с SVN

require_once( 'includes/joomla.php' );

$mosConfig_live_site = 'https://'.substr( $mosConfig_live_site, 7 );

if( (!empty( $_SERVER['HTTPS'] ) && strtolower( $_SERVER['HTTPS'] ) != 'off' || isset( $http_host[1] ) && $http_host[1] == 443) && substr( $mosConfig_live_site, 0, 8 ) != 'https://' ) {

$http_host = explode(':', $_SERVER['HTTP_HOST'] );

// Проверка SSL - $http_host возвращает :

require( 'configuration.php' );

header("Location: http://" . $_SERVER['HTTP_HOST'] . $self . "installation/index.php" );

$self = rtrim( dirname( $_SERVER['PHP_SELF'] ), '/\\' ) . '/';

Комментариев нет:

Отправить комментарий