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.
 
 
 
 
 

40 lines
1.1 KiB

  1. <?php
  2. ini_set('display_errors', 1);
  3. ini_set('display_startup_errors', 1);
  4. error_reporting(E_ALL ^ E_NOTICE);
  5. setlocale(LC_TIME,"ru_RU.utf8");
  6. date_default_timezone_set('Europe/Moscow');
  7. ob_implicit_flush(); while(ob_get_level()) ob_end_flush();
  8. define('VERBOSE', false);
  9. define('NAME', 'Nullnyan!');
  10. define('HOST', 'nullnyan.net');
  11. define('FQDN', 'https://'.HOST);
  12. define('SEED', '23wrsfsfsfaq');
  13. define('ROOT', __DIR__.'/');
  14. define('TIME', microtime(true));
  15. define('XARG', 174131599);
  16. define('UPDATE', TIME);
  17. define('NT', 'NT'.TIME);
  18. define('IO', 'IO'.TIME);
  19. # Hakase technology
  20. require_once 'engine/environment/ying.php';
  21. require_once 'engine/environment/yang.php';
  22. import(
  23. 'engine/environment/system',
  24. 'engine/environment/module'
  25. );
  26. session_start();
  27. try { import('engine/x','engine/katana'); Katana::init(); } catch (Note $N) { fail(500); }
  28. /*
  29. if(isset($_SESSION['+'])){
  30. try { import('engine/x','engine/katana'); Katana::init(); } catch (Note $N) { fail(500); }
  31. } else {
  32. die("upgrading<br/><a href='https://test.nullnyan.net/meta'>have a rest on meta channel</a>");
  33. }
  34. */