Skip to content

Commit 3e2ab3a

Browse files
committed
Minor refactoring
1 parent 0f70f0b commit 3e2ab3a

File tree

1 file changed

+3
-2
lines changed

1 file changed

+3
-2
lines changed

helpers/htaccess.php

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -63,13 +63,14 @@ private function getFooter()
6363
*/
6464
public function checkRequirements()
6565
{
66-
return array(
66+
$result = array(
6767
'apacheserver' =>
6868
strstr(strtolower(filter_var($_SERVER['SERVER_SOFTWARE'], FILTER_SANITIZE_STRING)), 'apache'),
6969
'found' => file_exists($this->path),
70-
'readable' => is_readable($this->path),
70+
'readable' => is_readable($this->path),
7171
'writeable' => is_writeable($this->path)
7272
);
73+
return $result;
7374
}
7475

7576
/**

0 commit comments

Comments
 (0)