File manager - Edit - /home/autoph/public_html/tasks/cfg/db_api.php
Back
<?php if(empty($_SERVER["HTTPS"]) || $_SERVER["HTTPS"] !== "on") { header("Location: https://" . $_SERVER["HTTP_HOST"] . $_SERVER["REQUEST_URI"]); exit(); } ob_start(); session_start(); include_once dirname(__FILE__) . '/../cfg/cfg.php'; include_once dirname(__FILE__) . '/../app/classes/logger.php'; include_once dirname(__FILE__) . '/../app/classes/utility.php'; $db = new db(); $utility_class = new Utility(); // $logger_class = new Logger(); $GLOBALS['logger_class'] = new Logger(); $global_system_settings = $db->system_settings(); $session_user = NULL ; $session_user_id = NULL ; ob_flush(); ob_end_flush(); ?>
| ver. 1.4 |
.
| PHP 7.3.33 | Generation time: 0 |
proxy
|
phpinfo
|
Settings