ERR_CONNECTION_REFUSED on the tutorial |
===== English =====================
wow I can't believe I'm replying to this old post... but I hope the following will help someone. I have this piece of code in: config/config.php in $config["base_url"] PHP Code: $root = (isset($_SERVER["HTTPS"]) ? "https://" : "http://") . $_SERVER["HTTP_HOST"]; Regardless of whether it is on the server or local, it dynamically takes the main path of the site. I hope that helps ===== Español ===================== wow, no puedo creer que esté respondiendo a esta publicación tan vieja... pero espero que lo siguiente ayude a alguien. Tengo este fragmento de código en: config/config.php en $config["base_url"] PHP Code: $root = (isset($_SERVER["HTTPS"]) ? "https://" : "http://") . $_SERVER["HTTP_HOST"]; Independientemente de si está en un servidor o local, toma dinámicamente la ruta principal del sitio. Espero que eso ayude a alguien |
Messages In This Thread |
ERR_CONNECTION_REFUSED on the tutorial - by rperezalo - 09-13-2017, 11:19 AM
RE: ERR_CONNECTION_REFUSED on the tutorial - by ciadvantage - 09-13-2017, 11:45 AM
RE: ERR_CONNECTION_REFUSED on the tutorial - by rperezalo - 09-13-2017, 11:55 AM
RE: ERR_CONNECTION_REFUSED on the tutorial - by Narf - 09-13-2017, 01:56 PM
RE: ERR_CONNECTION_REFUSED on the tutorial - by rperezalo - 09-14-2017, 08:52 AM
RE: ERR_CONNECTION_REFUSED on the tutorial - by carlospinedat - 03-09-2022, 10:07 PM
RE: ERR_CONNECTION_REFUSED on the tutorial - by kenjis - 03-10-2022, 05:49 PM
RE: ERR_CONNECTION_REFUSED on the tutorial - by Kenn38 - 03-10-2022, 07:06 PM
|