Welcome Guest, Not a member yet? Register   Sign In
get base_url() inside custom config file
#1

[eluser]ibnclaudius[/eluser]
How can I get base_url() inside custom config file?

This:
Code:
<?php  if ( ! defined('BASEPATH')) exit('No direct script access allowed');

$config['css'] = '' . base_url() . '/static/css';

Output this:
Code:
Fatal error: Call to undefined function base_url() in /var/www/_meuboletim/application/config/meuboletim.php on line 3



Messages In This Thread
get base_url() inside custom config file - by El Forum - 03-02-2012, 10:54 AM
get base_url() inside custom config file - by El Forum - 03-12-2012, 08:33 AM



Theme © iAndrew 2016 - Forum software by © MyBB