Skip to content

Commit

Permalink
Update config.php
Browse files Browse the repository at this point in the history
  • Loading branch information
dennybaa authored and jekkos committed Aug 28, 2023
1 parent d0209a7 commit 9f377fa
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion application/config/config.php
Expand Up @@ -65,7 +65,7 @@
| a PHP script and you can easily do that on your own.
|
*/
$config['base_url'] .= '//' . ((isset($_SERVER['HTTP_HOST'])) ? $_SERVER['HTTP_HOST'] : 'localhost') ;
$config['base_url'] = '//' . ((isset($_SERVER['HTTP_HOST'])) ? $_SERVER['HTTP_HOST'] : 'localhost') ;
$config['base_url'] .= str_replace(basename($_SERVER['SCRIPT_NAME']), '', $_SERVER['SCRIPT_NAME']);

/*
Expand Down

0 comments on commit 9f377fa

Please sign in to comment.