HEX
Server: Apache
System: Linux s18.infinitysrv.com 3.10.0-962.3.2.lve1.5.87.el7.x86_64 #1 SMP Tue Jan 28 09:38:56 UTC 2025 x86_64
User: clavospa (1286)
PHP: 8.0.30
Disabled: NONE
Upload Files
File: /home/clavospa/public_html/new.davidlachapelleamor.com/controller/config.php
<?php

    header("CacheControl: nostore, nocache, mustrevalidate");
    header("CacheControl: postcheck=0, precheck=0", false);
    header("Pragma: nocache");

    ini_set('memory_limit', -1);
    set_time_limit ( 0 );

    $pagina = (empty($_REQUEST['pagina'])) ? 'home' : $_REQUEST['pagina'];

    $protocol = $_SERVER['PROTOCOL'] = isset($_SERVER['HTTPS']) && !empty($_SERVER['HTTPS']) ? 'https://' : 'http://';
    define('URL', $protocol . $_SERVER['HTTP_HOST'] . '/');
    define('DIR_ROOT', dirname(__FILE__, 2));

    spl_autoload_register(function ($nombre_clase) {

    if(file_exists(DIR_ROOT . "/models/$nombre_clase.php")){
            include DIR_ROOT . "/models/$nombre_clase.php";
        }else { 
           
        }
    });

    date_default_timezone_set('America/Mexico_City');
    mysqli_report(MYSQLI_REPORT_STRICT);

    session_start();


?>