summaryrefslogtreecommitdiff
path: root/lib
diff options
context:
space:
mode:
authorAnika Henke <anika@selfthinker.org>2015-07-31 10:35:23 +0100
committerAnika Henke <anika@selfthinker.org>2015-07-31 10:35:23 +0100
commit656e58456ff0e79ba9cdcbffc1e23c89d43c123c (patch)
tree8bb0d16a0ff2df37651e5f56300a44647c0e3e55 /lib
parent767d16693c9df38a2f496d4ca2ba8559db5eba5d (diff)
downloadrpg-656e58456ff0e79ba9cdcbffc1e23c89d43c123c.tar.gz
rpg-656e58456ff0e79ba9cdcbffc1e23c89d43c123c.tar.bz2
removed deprecated support for style.local.ini
use conf/tpl/<template-folder-name>/style.ini instead
Diffstat (limited to 'lib')
-rw-r--r--lib/exe/css.php18
1 files changed, 0 insertions, 18 deletions
diff --git a/lib/exe/css.php b/lib/exe/css.php
index 3b8a524bc..925b78a76 100644
--- a/lib/exe/css.php
+++ b/lib/exe/css.php
@@ -59,7 +59,6 @@ function css_out(){
$tplinc = tpl_incdir($tpl);
$cache_files = getConfigFiles('main');
$cache_files[] = $tplinc.'style.ini';
- $cache_files[] = $tplinc.'style.local.ini'; // @deprecated
$cache_files[] = DOKU_CONF."tpl/$tpl/style.ini";
$cache_files[] = __FILE__;
if($INPUT->bool('preview')) $cache_files[] = $conf['cachedir'].'/preview.ini';
@@ -289,23 +288,6 @@ function css_styleini($tpl, $preview=false) {
}
}
- // load template's style.local.ini
- // @deprecated 2013-08-03
- $ini = $incbase.'style.local.ini';
- if(file_exists($ini)){
- $data = parse_ini_file($ini, true);
-
- // stylesheets
- if(is_array($data['stylesheets'])) foreach($data['stylesheets'] as $file => $mode){
- $stylesheets[$mode][$incbase.$file] = $webbase;
- }
-
- // replacements
- if(is_array($data['replacements'])){
- $replacements = array_merge($replacements, css_fixreplacementurls($data['replacements'],$webbase));
- }
- }
-
// load configs's style.ini
$webbase = DOKU_BASE;
$ini = DOKU_CONF."tpl/$tpl/style.ini";