Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/aarongarciah/codeigniter-3-baseurl-fix
A fix to the issue in CodeIgniter 3.0.3 when working in localhost and $config['base_url'] doesn't work
https://github.com/aarongarciah/codeigniter-3-baseurl-fix
codeigniter php
Last synced: about 2 months ago
JSON representation
A fix to the issue in CodeIgniter 3.0.3 when working in localhost and $config['base_url'] doesn't work
- Host: GitHub
- URL: https://github.com/aarongarciah/codeigniter-3-baseurl-fix
- Owner: aarongarciah
- Created: 2016-01-28T23:01:08.000Z (almost 9 years ago)
- Default Branch: master
- Last Pushed: 2017-03-21T08:26:42.000Z (almost 8 years ago)
- Last Synced: 2024-12-09T18:58:36.759Z (about 2 months ago)
- Topics: codeigniter, php
- Language: PHP
- Homepage:
- Size: 4.88 KB
- Stars: 1
- Watchers: 2
- Forks: 1
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# CodeIgniter 3.0.3 base_url Fix
A fix to the issue in CodeIgniter 3.0.3 when working in localhost and the `$config['base_url']` is wrong.## How to
Download the `MY_Config.php` file and put it into the `application/core` folder of your CodeIgniter project.
## Important
If you've set in your config file `application/congif/config.php` another value than "*MY_*" in the `$config['subclass_prefix']` option, change the name of `MY_Config.php` replacing "*MY_*" with your value.Example:
```
$config['subclass_prefix'] = 'CUSTOM_';
MY_Config.php => CUSTOM_Config.php
```