Web Interface For Lite Argus Control modules
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 
 

47 lines
1.3 KiB

<?php
$ARGUS_WEB_VERSION = trim( file_get_contents( '/srv/www/web/lib/version.var' ) );
$SSL_INSTALLLED = false;
if( $_SERVER['SERVER_PORT'] == 80 ){
$WEBPath='http://' . $_SERVER['HTTP_HOST'] . '/';//$_SERVER['SERVER_NAME'] . '/';
if( $SSL_INSTALLLED ){
header( 'location: https://'.$_SERVER['SERVER_ADDR'].'/'.$_SERVER['QUERY_STRING'] );
exit();
};
} else {
$WEBPath='https://' . $_SERVER['HTTP_HOST'] . '/';//$_SERVER['SERVER_NAME'] . '/';
};
$SYSPath = '/srv/www/web/';
$ShowImagesLocal=false;
$ShowThumbnailsLocal=true;
$ShowAdw=true;
$SaveLocal=false;
$MailAgent='SENDMAIL';
$CGP_SubmitPath='../Submitted/';
$DBCacheDir=$SYSPath . 'cache';
$MinimalSize=640000;
function microtime_float(){
list($usec, $sec) = explode(" ", microtime());
return ((float)$usec + (float)$sec);
};
$Script_Start_Time = microtime_float();
$Site_Languages = array(
//array( 'id'=>0, 'name'=>'Default', 'rtl'=>false ),
array( 'id'=>1, 'name'=>'English', 'rtl'=>false ),
array( 'id'=>2, 'name'=>'Русский', 'rtl'=>false ),
array( 'id'=>3, 'name'=>'עברית', 'rtl'=>true ),
array( 'id'=>4, 'name'=>'Français', 'rtl'=>false ),
array( 'id'=>5, 'name'=>'日本語', 'rtl'=>false ),
array( 'id'=>6, 'name'=>'中国人', 'rtl'=>false ),
array( 'id'=>7, 'name'=>'Română', 'rtl'=>false ),
);
?>