cvs: docweb /include lib_general.inc.php

[email protected] ("Hannes Magnusson")
Newsgroups php.doc.web
Message-ID <cvsbjori1202066127@cvsserver>
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 <[email protected]>                        |
 |                   Sean Coates <[email protected]>                         |
 +----------------------------------------------------------------------+
-$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
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.