Rename Default to default

This commit is contained in:
Knah Tsaeb 2016-12-08 09:46:34 +01:00
parent 057fb6839c
commit 81b9c01366
32 changed files with 3 additions and 3 deletions

View file

@ -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'));
}
/**

View file

@ -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');

View file

@ -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