summary |
shortlog |
log |
commit | commitdiff |
tree
raw |
patch |
inline | side by side (from parent 1:
c20b442)
Merge trunk fix for [
1493870 ] Problem with required files in gettext.inc
Merge trunk fix for [
1495135 ] Missing a closing parenthesis in ajaxGetTitle.php
Merged trunk changes for .htaccess file
+<IfDefine APACHE2>
+ AcceptPathInfo On
+</IfDefine>
RewriteEngine On
RewriteBase /
RewriteCond %{REQUEST_FILENAME} !-f
RewriteCond %{REQUEST_FILENAME} !-d
RewriteEngine On
RewriteBase /
RewriteCond %{REQUEST_FILENAME} !-f
RewriteCond %{REQUEST_FILENAME} !-d
-RewriteRule ^([^/]+)/?(.*) $1.php/$2 [L]
+RewriteCond %{REQUEST_FILENAME}.php -f
+RewriteRule ^([^/]+)/?(.*) $1.php/$2 [L]
$encoding = strtoupper($matches[1][0]);
// Convert to UTF-8 from the original encoding
$encoding = strtoupper($matches[1][0]);
// Convert to UTF-8 from the original encoding
- if (function_exists('mb_convert_encoding') {
+ if (function_exists('mb_convert_encoding')) {
$title = @mb_convert_encoding($title, 'UTF-8', $encoding);
}
$title = @mb_convert_encoding($title, 'UTF-8', $encoding);
}
-require('streams.php');
-require('gettext.php');
-
+require(dirname(__FILE__) .'/streams.php');
+require(dirname(__FILE__) .'/gettext.php');
if ($GLOBALS['useredir']) {
$_link = $GLOBALS['url_redir'] . $_link;
}
if ($GLOBALS['useredir']) {
$_link = $GLOBALS['url_redir'] . $_link;
}
- $_pubdate = gmdate("r", strtotime($row['bDatetime']));
+ $_pubdate = date("r", strtotime($row['bDatetime']));
// array_walk($row['tags'], 'filter');
$bookmarks_tpl[] = array(
// array_walk($row['tags'], 'filter');
$bookmarks_tpl[] = array(