svn: /web/php-bugs/trunk/include/ functions.php
| From: | Jani Taskinen | Date: | Sat, 13 Mar 2010 20:28:35 +0000 |
| Subject: | svn: /web/php-bugs/trunk/include/ functions.php | ||
| Groups: | php.webmaster | ||
| Request: | Send a blank email to php-webmaster+get-7571@lists.php.net to get a copy of this message | ||
jani Sat, 13 Mar 2010 20:28:35 +0000
Revision: http://svn.php.net/viewvc?view=revision&revision=296154
Log:
- Fix the admin stuff and make sure we have always right base regardless of paths
Changed paths:
U web/php-bugs/trunk/include/functions.php
Modified: web/php-bugs/trunk/include/functions.php
===================================================================
--- web/php-bugs/trunk/include/functions.php 2010-03-13 20:26:51 UTC (rev 296153)
+++ web/php-bugs/trunk/include/functions.php 2010-03-13 20:28:35 UTC (rev 296154)
@@ -1487,6 +1487,7 @@
<html>
<head>
<?php echo $extraHeaders; ?>
+ <base href="<?php echo (!empty($_SERVER['HTTPS'])) ? 'https://' : 'http://',
$site_url, $basedir; ?>/" />
<title><?php echo $siteBig; ?> :: <?php echo $title; ?></title>
<link rel="shortcut icon" href="http://<?php
echo $site_url, $basedir; ?>/images/favicon.ico" />
<link rel="stylesheet" href="css/style.css" />