Property | Type | Description | |
---|---|---|---|
$htaccessIssue | |||
$rewriteTestPassed | |||
$serverSupportsRemoteRead | |||
$webserver |
Method | Description | |
---|---|---|
__construct ( ) | Set the webserver as unknown. | |
createHtaccess ( string $url ) : boolean | Create Elgg's .htaccess file or confirm that it exists | |
guessSubdirectory ( string $url ) : string | boolean | Guess if url contains subdirectory or not. | |
guessWebServer ( ) : string | Guess the web server from $_SERVER['SERVER_SOFTWARE'] | |
run ( string $url, string $path ) : array | Run the rewrite test and return a status array | |
runLocalhostAccessTest ( ) : boolean | Check whether the site homepage can be fetched via curl | |
runRewriteTest ( string $url ) : boolean | Hit the rewrite test URL to determine if the rewrite rules are working |
Method | Description | |
---|---|---|
returnStatus ( string $url ) : array | Create the status array required by the ElggInstaller |
Method | Description | |
---|---|---|
fetchUrl ( string $url ) : string | Fetch a URL |
public createHtaccess ( string $url ) : boolean | ||
$url | string | URL of rewrite test |
return | boolean |
public static guessWebServer ( ) : string | ||
return | string |
protected returnStatus ( string $url ) : array | ||
$url | string | Rewrite test URL |
return | array |
public runLocalhostAccessTest ( ) : boolean | ||
return | boolean |
public runRewriteTest ( string $url ) : boolean | ||
$url | string | Rewrite test URL |
return | boolean |