Update of /cvsroot/php-blog/serendipity/include
In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv20836/include
Modified Files:
functions_installer.inc.php functions_smarty.inc.php
Log Message:
dang, we can't use a 'css/' subpath because inside the CSS code we have
relative references starting from root (templates/bla/x.png). So the CSS
files needs to be inside the root directory.
Index: functions_installer.inc.php
===================================================================
RCS file: /cvsroot/php-blog/serendipity/include/functions_installer.inc.php,v
retrieving revision 1.26
retrieving revision 1.27
diff -u -d -r1.26 -r1.27
--- functions_installer.inc.php 11 Jan 2005 12:53:28 -0000 1.26
+++ functions_installer.inc.php 11 Jan 2005 13:00:44 -0000 1.27
@@ -594,7 +594,7 @@
'{PAT_DELETE}', '{PATH_DELETE}',
'{PAT_APPROVE}', '{PATH_APPROVE}',
'{PAT_SEARCH}', '{PATH_SEARCH}',
- '{PAT_CSS}', '{PATH_CSS}',
+ '{PAT_CSS}',
'{PAT_AUTHORS}', '{PATH_AUTHORS}'
),
@@ -614,7 +614,7 @@
trim(PAT_DELETE, '@/i'), PATH_DELETE,
trim(PAT_APPROVE, '@/i'), PATH_APPROVE,
trim(PAT_SEARCH, '@/i'), PATH_SEARCH,
- trim(PAT_CSS, '@/i'), PATH_CSS,
+ trim(PAT_CSS, '@/i'),
trim(PAT_AUTHORS, '@/i'), PATH_AUTHORS
),
Index: functions_smarty.inc.php
===================================================================
RCS file: /cvsroot/php-blog/serendipity/include/functions_smarty.inc.php,v
retrieving revision 1.12
retrieving revision 1.13
diff -u -d -r1.12 -r1.13
--- functions_smarty.inc.php 11 Jan 2005 12:53:28 -0000 1.12
+++ functions_smarty.inc.php 11 Jan 2005 13:00:45 -0000 1.13
@@ -154,7 +154,7 @@
'head_version' => $serendipity['version'],
'head_title' => $serendipity['head_title'],
'head_subtitle' => $serendipity['head_subtitle'],
- 'head_link_stylesheet' => serendipity_rewriteURL(PATH_CSS . '/serendipity.css'),
+ 'head_link_stylesheet' => serendipity_rewriteURL('serendipity.css'),
'CONST' => get_defined_constants(),
|