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.

22 lines
625 B

​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
  1. <?php
  2. error_reporting( E_ALL );
  3. require_once('settings.php');
  4. require_once( __DIR__ . '/php/host_timezone.php'); // PHP must use the host's local time zone
  5. require_once('defines.php');
  6. require_once('php/onvif/toto.php');
  7. $TT_123 = explode( '.', PHP_VERSION );
  8. if( $TT_123[0] == '4' ){
  9. require_once( 'php/db/MySQL_class.php' );
  10. $DATABASE = new MySQL_DB($DBHost, $DBName, $DBUser, $DBPassword);
  11. } elseif( $TT_123[0] > 4 ){
  12. require_once( 'php/db/MySQLi_class.php' );
  13. $DATABASE = new MySQLi_DB($DBHost, $DBName, $DBUser, $DBPassword);
  14. } else {
  15. exit();
  16. };
  17. require_once('php/soap/bo_functionality.php');
  18. ?>