Update of /cvsroot/php-blog/jBlog
In directory sc8-pr-cvs1:/tmp/cvs-serv32045
Modified Files:
index.php
Log Message:
fix to allow session ids to be appended to the url
Index: index.php
===================================================================
RCS file: /cvsroot/php-blog/jBlog/index.php,v
retrieving revision 1.8
retrieving revision 1.9
diff -u -d -r1.8 -r1.9
--- index.php 13 Mar 2003 12:44:39 -0000 1.8
+++ index.php 25 Mar 2003 18:51:54 -0000 1.9
@@ -5,7 +5,7 @@
$uri = $_SERVER['REQUEST_URI'];
if (preg_match('@/archives/@', $uri)) {
- if (preg_match('@/(d_(\d+)\.html)$@', $uri, $matches)) {
+ if (preg_match('@/(d_(\d+)\.html)@', $uri, $matches)) {
$range = $matches[2];
$_GET['jBlog']['action'] = "read";
$_GET['jBlog']['range'] = $range;
@@ -29,7 +29,7 @@
}
print $data;
- } else if (preg_match('@/(e_(\d+)\.html)$@', $uri, $matches)) {
+ } else if (preg_match('@/(e_(\d+)\.html)@', $uri, $matches)) {
$id = $matches[2];
$_GET['jBlog']['action'] = 'read';
|