cvs: docweb /include lib_general.inc.php

From: Date: Sun, 03 Feb 2008 19:15:27 +0000
Subject: cvs: docweb /include lib_general.inc.php
Groups: php.doc.web 
Request: Send a blank email to doc-web+get-970@lists.php.net to get a copy of this message
bjori Sun Feb 3 19:15:27 2008 UTC Modified files: /docweb/include lib_general.inc.php Log: Fix logic http://cvs.php.net/viewvc.cgi/docweb/include/lib_general.inc.php?r1=1.54&r2=1.55&diff_format=u Index: docweb/include/lib_general.inc.php diff -u docweb/include/lib_general.inc.php:1.54 docweb/include/lib_general.inc.php:1.55 --- docweb/include/lib_general.inc.php:1.54 Sat Sep 15 01:23:54 2007 +++ docweb/include/lib_general.inc.php Sun Feb 3 19:15:27 2008 @@ -18,7 +18,7 @@ | Gabor Hojtsy <goba@php.net> | | Sean Coates <sean@php.net> | +----------------------------------------------------------------------+ -$Id: lib_general.inc.php,v 1.54 2007/09/15 01:23:54 philip Exp $ +$Id: lib_general.inc.php,v 1.55 2008/02/03 19:15:27 bjori Exp $ */ require_once dirname(__FILE__) . '/lib_auth.inc.php'; @@ -60,7 +60,7 @@ $extra_style = ''; // prevent errors - $guess_style = (in_array(SITE, array('www', 'phd')) ? '' : SITE . '.css'); + $guess_style = (SITE == 'www') ? '' : SITE . '.css'; $styles = array_filter(($style ? array($style) : array($guess_style))); // Set proper encoding with HTTP header first

« previous php.doc.web (#970) next »