mirror of
https://github.com/claudehohl/Stikked.git
synced 2025-04-25 20:41:20 -05:00
works indeed.
This commit is contained in:
parent
09e6533ffd
commit
4049cd4447
@ -52,7 +52,7 @@ Installation
|
||||
* No special file permissions are needed by default. Optional: If you want to have the JavaScript- and CSS-files minified, the static/asset/ folder has to be writable.
|
||||
* To ensure that pastes with an expiration set get cleaned up, define the cron key in the config and set up a cronjob, for example:
|
||||
* `*/5 * * * * curl --silent http://yoursite.com/cron/[key]`
|
||||
* If you encounter errors with stylesheets and paths, make sure your site_root config value is not empty (see [here](http://www.codeigniter.com/user_guide/installation/upgrade_303.html)).
|
||||
* If you encounter errors with stylesheets and paths, make sure your base_url config value is not empty (see [here](http://www.codeigniter.com/user_guide/installation/upgrade_303.html)).
|
||||
* Be sure to also copy the .htaccess file when you move files around. This is a hidden file and easily overlooked.
|
||||
|
||||
|
||||
@ -79,7 +79,7 @@ Changelog
|
||||
|
||||
Copy your htdocs/application/stikked.php config file away. Upload the new version. Copy it back.
|
||||
|
||||
Add and set the site_root in application/config/stikked.php
|
||||
Add and set the base_url in htdocs/application/config/stikked.php
|
||||
|
||||
### Version 0.10.0:
|
||||
|
||||
|
@ -9,12 +9,12 @@
|
||||
$config['site_name'] = 'Stikked';
|
||||
|
||||
/**
|
||||
* Site Root
|
||||
* Base URL
|
||||
*
|
||||
* The base URL of Stikked. WITH trailing slash!
|
||||
* Set the base URL of Stikked. WITH trailing slash!
|
||||
*
|
||||
*/
|
||||
$config['site_root'] = 'https://yourpastebin.com/';
|
||||
$config['base_url'] = 'https://yourpastebin.com/';
|
||||
|
||||
/**
|
||||
* Database connection
|
||||
|
@ -39,7 +39,6 @@ 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