Changeset 5377

Show
Ignore:
Timestamp:
02/23/08 19:27:35 (11 months ago)
Author:
inureyes
Message:

#710

  • 태터툴즈 1.0x, 1.1x에서 마이그레이션 시 발생하는 오류 수정
Location:
trunk/blog
Files:
2 modified

Legend:

Unmodified
Added
Removed
  • trunk/blog/checkup/index.php

    r5375 r5377  
    911911RewriteEngine On 
    912912RewriteBase ".$service['path']."/ 
     913RewriteCond %{REQUEST_FILENAME} -d 
     914RewriteRule ^(.+[^/])$ $1/ [L] 
    913915RewriteCond %{REQUEST_FILENAME} !-f 
    914916RewriteRule ^(.*)$ rewrite.php [L,QSA] 
  • trunk/blog/index.php

    r5285 r5377  
    44/// See the GNU General Public License for more details. (/doc/LICENSE, /doc/COPYRIGHT) 
    55 
    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 
     7if(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} 
     13header("Location: $url/checkup"); 
    914?>