Rename Default to default
This commit is contained in:
parent
057fb6839c
commit
81b9c01366
32 changed files with 3 additions and 3 deletions
|
@ -79,7 +79,7 @@ private function initialize()
|
|||
$this->tpl->assign('hide_timestamps', $this->conf->get('privacy.hide_timestamps', false));
|
||||
$this->tpl->assign('token', getToken($this->conf));
|
||||
// To be removed with a proper theme configuration.
|
||||
$this->tpl->assign('conf', $this->conf->get('resource.theme', 'Default'));
|
||||
$this->tpl->assign('conf', $this->conf->get('resource.theme', 'default'));
|
||||
}
|
||||
|
||||
/**
|
||||
|
|
|
@ -296,7 +296,7 @@ protected function setDefaultValues()
|
|||
$this->setEmpty('resource.updates', 'data/updates.txt');
|
||||
$this->setEmpty('resource.log', 'data/log.txt');
|
||||
$this->setEmpty('resource.update_check', 'data/lastupdatecheck.txt');
|
||||
$this->setEmpty('resource.theme', 'Default');
|
||||
$this->setEmpty('resource.theme', 'default');
|
||||
$this->setEmpty('resource.raintpl_tmp', 'tmp/');
|
||||
$this->setEmpty('resource.thumbnails_cache', 'cache');
|
||||
$this->setEmpty('resource.page_cache', 'pagecache');
|
||||
|
|
|
@ -122,7 +122,7 @@
|
|||
$conf = new ConfigManager();
|
||||
$conf->setEmpty('general.timezone', date_default_timezone_get());
|
||||
$conf->setEmpty('general.title', 'Shared links on '. escape(index_url($_SERVER)));
|
||||
$conf->setEmpty('resource.theme', 'Default');
|
||||
$conf->setEmpty('resource.theme', 'default');
|
||||
RainTPL::$tpl_dir = 'tpl/'.$conf->get('resource.theme').'/'; // template directory
|
||||
RainTPL::$cache_dir = $conf->get('resource.raintpl_tmp'); // cache directory
|
||||
|
||||
|
|
Loading…
Reference in a new issue