1
0

Use strict frontend template fallback

in case it is used as a copy template, see
http://board.s9y.org/viewtopic.php?f=11&p=10441860#p10441860
This commit is contained in:
Ian
2015-02-04 14:40:05 +01:00
parent 4665bb6598
commit 4d0daa24d0
2 changed files with 7 additions and 1 deletions

View File

@ -25,6 +25,12 @@ Version 2.1 ()
Version 2.0.1 () Version 2.0.1 ()
------------------------------------------------------------------------ ------------------------------------------------------------------------
* Fixed 2k11/config.inc.php file to (examplewise) strictly follow
the changed serendipity_getTemplateFile() API method, in case
it is used in a custom theme/template, where this is necessary.
(PLEASE NOTE: This only applies to getTemplateFile() method calls,
which need to be shown in the backend!)
* Fixed missing file message for deleted media items * Fixed missing file message for deleted media items
* Fixed entry editor JS not emitting a 'No tags' msg in taxonomy * Fixed entry editor JS not emitting a 'No tags' msg in taxonomy

View File

@ -50,7 +50,7 @@ $template_config = array(
'var' => 'header_img', 'var' => 'header_img',
'name' => TWOK11_HEADER_IMG, 'name' => TWOK11_HEADER_IMG,
'type' => 'media', 'type' => 'media',
'default' => serendipity_getTemplateFile('header.jpg') 'default' => serendipity_getTemplateFile('header.jpg', 'serendipityHTTPPath', true)
), ),
array( array(
'var' => 'webfonts', 'var' => 'webfonts',