mirror of
https://github.com/claudehohl/Stikked.git
synced 2025-04-26 13:01:08 -05:00
parent
c8207f71ce
commit
b17a9c08dd
@ -87,6 +87,7 @@ $config['cron_key'] = '';
|
||||
$config['yourls_url'] = '';
|
||||
$config['yourls_signature'] = '';
|
||||
$config['gwgd_url'] = '';
|
||||
$config['shorturl_selected'] = false;
|
||||
|
||||
/**
|
||||
* Credentials for the backup URL
|
||||
|
@ -315,6 +315,12 @@ class Main extends CI_Controller
|
||||
$this->db_session->set_userdata('expire', $default_expiration);
|
||||
}
|
||||
|
||||
if (!$this->db_session->userdata('snipurl'))
|
||||
{
|
||||
$shorturl_selected = config_item('shorturl_selected');
|
||||
$this->db_session->set_userdata('snipurl', $shorturl_selected);
|
||||
}
|
||||
|
||||
if ($this->db_session->flashdata('settings_changed'))
|
||||
{
|
||||
$data['status_message'] = 'Settings successfully changed';
|
||||
|
Loading…
x
Reference in New Issue
Block a user