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.
23 lines
625 B
23 lines
625 B
<?php
|
|
error_reporting( E_ALL );
|
|
require_once('settings.php');
|
|
require_once( __DIR__ . '/php/host_timezone.php'); // PHP must use the host's local time zone
|
|
require_once('defines.php');
|
|
|
|
require_once('php/onvif/toto.php');
|
|
|
|
$TT_123 = explode( '.', PHP_VERSION );
|
|
if( $TT_123[0] == '4' ){
|
|
require_once( 'php/db/MySQL_class.php' );
|
|
$DATABASE = new MySQL_DB($DBHost, $DBName, $DBUser, $DBPassword);
|
|
} elseif( $TT_123[0] > 4 ){
|
|
require_once( 'php/db/MySQLi_class.php' );
|
|
$DATABASE = new MySQLi_DB($DBHost, $DBName, $DBUser, $DBPassword);
|
|
} else {
|
|
exit();
|
|
};
|
|
|
|
require_once('php/soap/bo_functionality.php');
|
|
|
|
|
|
?>
|