Web UI for ARGUS server
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.

17 lines
385 B

5 years ago
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
  1. <?php
  2. error_reporting( E_ALL );
  3. require_once('settings.php');
  4. // SET DATA CONNECTION AND GLOBAL USER VARIABLES
  5. $TT_123 = explode( '.', PHP_VERSION );
  6. if( $TT_123[0] == '4' ){
  7. require_once( 'php/db/MySQL_class.php' );
  8. } elseif( $TT_123[0] > '4' ){
  9. require_once( 'php/db/MySQLi_class.php' );
  10. } else {
  11. exit();
  12. };
  13. session_start();
  14. require_once('php/ui/UI_functions.php');
  15. ?>