Changeset 5377
- Timestamp:
- 02/23/08 19:27:35 (11 months ago)
- Location:
- trunk/blog
- Files:
-
- 2 modified
-
checkup/index.php (modified) (1 diff)
-
index.php (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
-
trunk/blog/checkup/index.php
r5375 r5377 911 911 RewriteEngine On 912 912 RewriteBase ".$service['path']."/ 913 RewriteCond %{REQUEST_FILENAME} -d 914 RewriteRule ^(.+[^/])$ $1/ [L] 913 915 RewriteCond %{REQUEST_FILENAME} !-f 914 916 RewriteRule ^(.*)$ rewrite.php [L,QSA] -
trunk/blog/index.php
r5285 r5377 4 4 /// See the GNU General Public License for more details. (/doc/LICENSE, /doc/COPYRIGHT) 5 5 6 // Symbolic link to support migration from Textcube 1.5 to 1.6 7 define('ROOT', '..'); 8 require ROOT . '/interface/blog/checkup.php'; 6 // Symbolic link to support migration from Tattertools 1.0x, 1.1x, Textcube 1.5 to Textcube 1.6 7 if(isset($service['useFastCGI']) && $service['useFastCGI'] == true) { 8 $url = rtrim(isset($_SERVER['REQUEST_URI']) ? $_SERVER['REQUEST_URI'] : $_SERVER['SCRIPT_NAME'], '/'); 9 $url = preg_replace('/\?[\w\&=]+/', '', $url); 10 } else { 11 $url = rtrim(isset($_SERVER['REDIRECT_URL']) ? $_SERVER['REDIRECT_URL'] : $_SERVER['SCRIPT_NAME'], '/'); 12 } 13 header("Location: $url/checkup"); 9 14 ?>
