diff --git a/htdocs/application/config/config.php b/htdocs/application/config/config.php index ac7d666..eb1762c 100644 --- a/htdocs/application/config/config.php +++ b/htdocs/application/config/config.php @@ -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'; /* |-------------------------------------------------------------------------- diff --git a/htdocs/application/config/stikked.php.dist b/htdocs/application/config/stikked.php.dist index 9f63c94..c2d8d6a 100644 --- a/htdocs/application/config/stikked.php.dist +++ b/htdocs/application/config/stikked.php.dist @@ -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 * diff --git a/htdocs/application/controllers/Main.php b/htdocs/application/controllers/Main.php index 595417b..288b038 100644 --- a/htdocs/application/controllers/Main.php +++ b/htdocs/application/controllers/Main.php @@ -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');