I have a site where there is a config.php file that indicates a route. In local mode it works, but when I upload it to the web it does not.
<?php
//error_reporting(E_ALL ^ E_NOTICE);
error_reporting(0);
define('SITE_TITLE', 'Sitio Web');
define('SITE_PATH', '/public_html/'); //servidor en linea
//define('SITE_PATH', '/srv/http/sitiosWeb'); //localhost
define('SITE_PATH_ADMIN', SITE_PATH . '/admin');
define('SITE_PATH_CONFIG', SITE_PATH . '/config');
define('SITE_PATH_CONFIG_PROPEL', SITE_PATH . '/config/sturam-conf.php');
define('SITE_PATH_MODULES', SITE_PATH_ADMIN . '/modules');
define('SITE_DEBUG', false);
define('PROYECTO', 'Sturam');
require_once 'drivers.php';
session_start();
?>
I use piblic_html
because it is where the site is hosted or do I have to place a url
?