mirror of
https://github.com/claudehohl/Stikked.git
synced 2025-04-26 04:51:08 -05:00
set the base_url via controller and re-overwrite base_url. whew!
This commit is contained in:
parent
7722c3e777
commit
6611a550bc
@ -14,7 +14,7 @@
|
||||
| path to your installation.
|
||||
|
|
||||
*/
|
||||
$config['base_url'] = 'http://stikked/';
|
||||
$config['base_url'] = '';
|
||||
|
||||
/*
|
||||
|--------------------------------------------------------------------------
|
||||
@ -24,7 +24,7 @@ $config['base_url'] = 'http://stikked/';
|
||||
| So that we can track your version.
|
||||
|
|
||||
*/
|
||||
$config['stikked_version'] = '0.10.0';
|
||||
$config['stikked_version'] = '0.11.0';
|
||||
|
||||
/*
|
||||
|--------------------------------------------------------------------------
|
||||
|
@ -8,6 +8,14 @@
|
||||
*/
|
||||
$config['site_name'] = 'Stikked';
|
||||
|
||||
/**
|
||||
* Site Root
|
||||
*
|
||||
* The base URL of Stikked. WITH trailing slash!
|
||||
*
|
||||
*/
|
||||
$config['site_root'] = 'https://yourpastebin.com/';
|
||||
|
||||
/**
|
||||
* Database connection
|
||||
*
|
||||
|
@ -39,6 +39,7 @@ class Main extends CI_Controller
|
||||
function __construct()
|
||||
{
|
||||
parent::__construct();
|
||||
$this->config->set_item('base_url', config_item('site_root'));
|
||||
$this->output->enable_profiler(false);
|
||||
$this->load->model('languages');
|
||||
$this->load->library('curl');
|
||||
|
Loading…
x
Reference in New Issue
Block a user