????JFIF??x?x????'
| Server IP : 172.67.174.47 / Your IP : 216.73.216.87 Web Server : LiteSpeed System : Linux premium151.web-hosting.com 4.18.0-553.44.1.lve.el8.x86_64 #1 SMP Thu Mar 13 14:29:12 UTC 2025 x86_64 User : tempvsty ( 647) PHP Version : 8.0.30 Disable Function : NONE MySQL : OFF | cURL : ON | WGET : ON | Perl : ON | Python : ON | Sudo : OFF | Pkexec : OFF Directory : /././proc/self/root/proc/self/root/proc/thread-self/root/var/softaculous/slims/ |
Upload File : |
<?php
/**
* Supported mode list:
* - development : all errors will appear
* - production : silent error
*/
$env = 'production';
/**
* Environment mode if
* incoming ip has registered at
* $ip_range and $based_on_ip = true
*/
$conditional_environment = 'production';
/**
* Show error only for some ip
* based on ip range
*/
$based_on_ip = false;
/**
* Range IP will be impacted with
* environment mode
*/
$range_ip = [''];
if ($based_on_ip) {
// For load balancing or Reverse Proxy
if (array_key_exists('HTTP_X_FORWARDED_FOR', $_SERVER) && in_array($_SERVER['HTTP_X_FORWARDED_FOR'], $range_ip)) {
$env = $conditional_environment;
} else if (in_array($_SERVER['REMOTE_ADDR']??'', $range_ip)) {
$env = $conditional_environment;
}
}
/**
* Cli environment
*/
if (php_sapi_name() === 'cli') {
$env = $conditional_environment !== $env ? $conditional_environment : $env;
}