slav123 / CodeIgniter-minify

CodeIgniter minify library CSS and JavaScript compression on the fly

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Using $config['base_url'] in config.php causes malformed URLs.

phanku opened this issue · comments

Using $config['base_url'] in the default config.php will cause malformed generated URLs.

Example:

$config['base_url'] = 'https://example.com/'; 

Results:

<script type="text/javascript" src="https://example.com/https://example.com/assets/scripts.min.js"></script>

Thanks. Mock for base_url function wasn't working properly in our tests.