4.4.1 to 4.4.8 base_url php spark closes.. |
Hi,
I'm working on updating to 4.4.8 and my base url is defined like below. Code: public string $baseURL = BASE_URL; in config/Constants.php I have Code: $base_url = (isset($_SERVER['HTTPS']) && $_SERVER['HTTPS'] == 'on' ? 'https://' : 'http://') . $_SERVER['HTTP_HOST'] . dirname($_SERVER['SCRIPT_NAME']) . (substr(dirname($_SERVER['SCRIPT_NAME']), -1) == '/' ? '' : '/'); when I run php spark on 4.4.1 it works fine, but on 4.4.8 it just exits out, and doesn't run the localhost server. if i replace the $baseURL with http://localhost:8080/ it works, but I need the dynamic url. So why is 4.4.8 exiting out when 4.4.1 doesn't? I don't get any error, it just goes back the typing commands in command prompt, and doesn't run the local server. Any help would be appreicated. |
Messages In This Thread |
4.4.1 to 4.4.8 base_url php spark closes.. - by xsPurX - 05-06-2024, 11:31 AM
RE: 4.4.1 to 4.4.8 base_url php spark closes.. - by kenjis - 05-07-2024, 01:50 AM
RE: 4.4.1 to 4.4.8 base_url php spark closes.. - by xsPurX - 05-07-2024, 06:37 AM
RE: 4.4.1 to 4.4.8 base_url php spark closes.. - by kenjis - 05-09-2024, 05:36 AM
RE: 4.4.1 to 4.4.8 base_url php spark closes.. - by xsPurX - 05-09-2024, 06:21 AM
RE: 4.4.1 to 4.4.8 base_url php spark closes.. - by kenjis - 05-09-2024, 04:02 PM
RE: 4.4.1 to 4.4.8 base_url php spark closes.. - by mylastof - 05-11-2024, 05:49 AM
|