mirror of
https://github.com/Lastorder-DC/rhymix.git
synced 2026-01-08 03:01:43 +09:00
#154 mod check rewrite_module usable
This commit is contained in:
parent
23f858bef9
commit
c62e2e6ed9
1 changed files with 3 additions and 0 deletions
|
|
@ -379,6 +379,9 @@ class installController extends install
|
||||||
$hostname = $_SERVER['SERVER_NAME'];
|
$hostname = $_SERVER['SERVER_NAME'];
|
||||||
$port = $_SERVER['SERVER_PORT'];
|
$port = $_SERVER['SERVER_PORT'];
|
||||||
$query = "/JUST/CHECK/REWRITE/" . $checkFilePath;
|
$query = "/JUST/CHECK/REWRITE/" . $checkFilePath;
|
||||||
|
$currentPath = str_replace( $_SERVER['DOCUMENT_ROOT'], "", realpath(_XE_PATH_) );
|
||||||
|
if($currentPath != "")
|
||||||
|
$query = $currentPath . $query;
|
||||||
|
|
||||||
$fp = @fsockopen($hostname, $port, $errno, $errstr);
|
$fp = @fsockopen($hostname, $port, $errno, $errstr);
|
||||||
if(!$fp) return false;
|
if(!$fp) return false;
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue