mirror of
https://github.com/Lastorder-DC/rhymix.git
synced 2026-01-06 18:21:39 +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'];
|
||||
$port = $_SERVER['SERVER_PORT'];
|
||||
$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);
|
||||
if(!$fp) return false;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue