Definition at line 10 of file ElggRewriteTester.php.
ElggRewriteTester::__construct |
( |
| ) |
|
ElggRewriteTester::createHtaccess |
( |
|
$url, |
|
|
|
$path |
|
) |
| |
Create Elgg's .htaccess file or confirm that it exists.
- Parameters
-
string | $url | URL of rewrite test |
string | $path | Elgg's root directory with trailing slash |
- Returns
- bool
Definition at line 156 of file ElggRewriteTester.php.
ElggRewriteTester::guessSubdirectory |
( |
|
$url | ) |
|
Guess if url contains subdirectory or not.
- Parameters
-
string | $url | Rewrite test URL |
- Returns
- string|bool Subdirectory string with beginning and trailing slash or false if were unable to determine subdirectory or pointing at root of domain already
Definition at line 72 of file ElggRewriteTester.php.
static ElggRewriteTester::guessWebServer |
( |
| ) |
|
|
static |
Guess the web server from $_SERVER['SERVER_SOFTWARE'].
- Returns
- string
Definition at line 53 of file ElggRewriteTester.php.
ElggRewriteTester::returnStatus |
( |
|
$url | ) |
|
|
protected |
ElggRewriteTester::run |
( |
|
$url, |
|
|
|
$path |
|
) |
| |
Run the rewrite test and return a status array.
- Parameters
-
string | $url | URL of rewrite test |
string | $path | Root directory of Elgg with trailing slash |
- Returns
- array
Definition at line 31 of file ElggRewriteTester.php.
ElggRewriteTester::runLocalhostAccessTest |
( |
| ) |
|
ElggRewriteTester::runRewriteTest |
( |
|
$url | ) |
|
Hit the rewrite test URL to determine if the rewrite rules are working.
- Parameters
-
string | $url | Rewrite test URL |
- Returns
- bool
Definition at line 92 of file ElggRewriteTester.php.
ElggRewriteTester::$htaccessIssue |
|
protected |
ElggRewriteTester::$rewriteTestPassed |
|
protected |
ElggRewriteTester::$serverSupportsRemoteRead |
|
protected |
ElggRewriteTester::$webserver |
|
protected |
The documentation for this class was generated from the following file: