Guest User

Untitled

a guest
Jan 10th, 2021
27
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. <?php
  2. /**
  3. *
  4. * @ This file is created by http://DeZender.Net
  5. * @ deZender (PHP7 Decoder for ionCube Encoder)
  6. *
  7. * @ Version : 4.1.0.1
  8. * @ Author : DeZender
  9. * @ Release on : 29.08.2020
  10. * @ Official site : http://DeZender.Net
  11. *
  12. */
  13.  
  14. session_start();
  15. ob_start();
  16. define('__IMPERIAMUCMS_VERSION__', '2.0.11');
  17. define('__IMPERIAMUCMS_LITE__', 'ImperiaMuCMS Lite Package;ImperiaMuCMS Lite Package (Rent);ImperiaMuCMS Lite Package (Lifetime);Additional License for ImperiaMuCMS Lite Package;Additional License for ImperiaMuCMS Lite Package (Lifetime)');
  18. define('__IMPERIAMUCMS_PREMIUM__', 'ImperiaMuCMS Premium Package;ImperiaMuCMS Premium Package (Rent);ImperiaMuCMS Premium Package (Lifetime);Additional License for ImperiaMuCMS Premium Package;Additional License for ImperiaMuCMS Premium Package (Lifetime)');
  19. define('__IMPERIAMUCMS_PREMIUM_PLUS__', 'ImperiaMuCMS Premium Plus Package;ImperiaMuCMS Premium Plus Package (Rent);ImperiaMuCMS Premium Plus Package (Lifetime);Additional License for ImperiaMuCMS Premium Plus Package;Additional License for ImperiaMuCMS Premium Plus Package (Lifetime)');
  20. define('__IMPERIAMUCMS_BRONZE__', 'ImperiaMuCMS Bronze Package;Additional License for Bronze Package');
  21. define('__IMPERIAMUCMS_SILVER__', 'ImperiaMuCMS Silver Package;Additional License for Silver Package');
  22. define('__IMPERIAMUCMS_GOLD__', 'ImperiaMuCMS Gold Package;Additional License for Gold Package;ImperiaMuCMS Gold Package [Lifetime];Additional License for Gold Package [Lifetime]');
  23. $sapi_type = php_sapi_name();
  24. if ((substr($sapi_type, 0, 3) == 'cli') || empty($_SERVER['REMOTE_ADDR'])) {
  25. define('__ACCESS_TYPE__', 'shell');
  26. }
  27. else {
  28. define('__ACCESS_TYPE__', 'web');
  29. }
  30.  
  31. if (!@include_once dirname(__FILE__) . '/config.php') {
  32. throw new Exception('Could not load the configurations file.');
  33. }
  34.  
  35. date_default_timezone_set($config['timezone_name']);
  36.  
  37. if ($config['server_files'] == 'IGCN') {
  38. define('__ITEM_LENGTH__', '64');
  39. define('__ITEM_EMPTY__', 'FFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF');
  40. }
  41. else {
  42. define('__ITEM_LENGTH__', '32');
  43. define('__ITEM_EMPTY__', 'FFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF');
  44. }
  45.  
  46. define('__IMPERIAMUCMS_LICENSE_SERVER__', 'http://imperiamucms.com/');
  47.  
  48. if (!$config['system_active']) {
  49. if (!array_key_exists($_SESSION['username'], $config['admins']) && !defined('admincp')) {
  50. header('Location: ' . $config['maintenance_page']);
  51. exit();
  52. }
  53.  
  54. $config['enable_session_timeout'] = false;
  55. echo '<div style="text-align:center;border:1px solid #ff0000;padding:10px;background:#520000;color:#ff0000;font-size:16pt;position:fixed;z-index:99999;">';
  56. echo 'OFFLINE MODE';
  57. echo '</div>';
  58. }
  59.  
  60. if (!@include_once dirname(__FILE__) . '/tables.php') {
  61. throw new Exception('Could not load the tables definitions.');
  62. }
  63. if ($config['error_reporting'] && (__ACCESS_TYPE__ == 'web')) {
  64. ini_set('display_errors', true);
  65. error_reporting(32759);
  66. }
  67. else {
  68. ini_set('display_errors', false);
  69. .........................................................................
  70. ...........................................
  71. ......................
RAW Paste Data