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.
|
|
<?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();
?>
|