mirror of
https://github.com/claudehohl/Stikked.git
synced 2025-04-26 13:01: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.
|
| 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.
|
| 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';
|
$config['site_name'] = 'Stikked';
|
||||||
|
|
||||||
|
/**
|
||||||
|
* Site Root
|
||||||
|
*
|
||||||
|
* The base URL of Stikked. WITH trailing slash!
|
||||||
|
*
|
||||||
|
*/
|
||||||
|
$config['site_root'] = 'https://yourpastebin.com/';
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Database connection
|
* Database connection
|
||||||
*
|
*
|
||||||
|
@ -39,6 +39,7 @@ class Main extends CI_Controller
|
|||||||
function __construct()
|
function __construct()
|
||||||
{
|
{
|
||||||
parent::__construct();
|
parent::__construct();
|
||||||
|
$this->config->set_item('base_url', config_item('site_root'));
|
||||||
$this->output->enable_profiler(false);
|
$this->output->enable_profiler(false);
|
||||||
$this->load->model('languages');
|
$this->load->model('languages');
|
||||||
$this->load->library('curl');
|
$this->load->library('curl');
|
||||||
|
Loading…
x
Reference in New Issue
Block a user