a) won't your new improvement here throw errors to the user during
install if display_errors is set?
b) We do have ONE template solution. It just happens to have multiple
manifestations and allow for multiple css per blog (in the absence of
an existing default). Sorry if you don't like it, but some people do.
On Sunday, July 13, 2003, at 08:41 AM, tom...@us...
wrote:
> Update of /cvsroot/php-blog/serendipity
> In directory sc8-pr-cvs1:/tmp/cvs-serv18983
>
> Modified Files:
> serendipity.css.php
> Log Message:
> This file is getting far to complicated.
>
> We need to decide on ONE template solution...
>
>
> Index: serendipity.css.php
> ===================================================================
> RCS file: /cvsroot/php-blog/serendipity/serendipity.css.php,v
> retrieving revision 1.15
> retrieving revision 1.16
> diff -u -d -r1.15 -r1.16
> --- serendipity.css.php 13 Jul 2003 12:21:41 -0000 1.15
> +++ serendipity.css.php 13 Jul 2003 12:41:51 -0000 1.16
> @@ -1,8 +1,8 @@
> <?php # $Id$
>
> header('Content-type: text/css');
> -
> -if ( !@include_once('serendipity_config_local.inc.php') ) {
> +include_once('serendipity_config.inc.php');
> +if ( !@file_exists('serendipity_config_local.inc.php') ) {
> if ( file_exists('templates/default/style.css') ) {
> readfile('templates/default/style.css');
> } else {
>
>
>
>
> -------------------------------------------------------
> This SF.Net email sponsored by: Parasoft
> Error proof Web apps, automate testing & more.
> Download & eval WebKing and get a free book.
> www.parasoft.com/bulletproofapps1
> _______________________________________________
> php-blog-cvs mailing list
> php...@li...
> https://lists.sourceforge.net/lists/listinfo/php-blog-cvs
>
-- George Schlossnagle
-- Principal Consultant
-- OmniTI Computer Consulting, Inc.
-- +1.410.872.4910 x202
-- 1024D/1100A5A0 1370 F70A 9365 96C9 2F5E 56C2 B2B9 262F 1100 A5A0
|