fix to installer
This commit is contained in:
parent
738cf7d4c4
commit
df114fc180
@ -17,7 +17,6 @@ class Installer extends Base
|
|||||||
{
|
{
|
||||||
$this->loadConfig();
|
$this->loadConfig();
|
||||||
|
|
||||||
if ($this->request()->path() == '/') {
|
|
||||||
if (!$this->validateSafeIps()) {
|
if (!$this->validateSafeIps()) {
|
||||||
# Client not allowed
|
# Client not allowed
|
||||||
if ($this->dataDirExists()) {
|
if ($this->dataDirExists()) {
|
||||||
@ -57,11 +56,6 @@ class Installer extends Base
|
|||||||
$this->renderMessage($e->getMessage());
|
$this->renderMessage($e->getMessage());
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
} else {
|
|
||||||
# Load application and let it serve the request.
|
|
||||||
$appClass = get_class(Rails::application());
|
|
||||||
$appClass::dispatchRequest();
|
|
||||||
}
|
|
||||||
}
|
}
|
||||||
|
|
||||||
protected function checkWriteablePaths()
|
protected function checkWriteablePaths()
|
||||||
|
Reference in New Issue
Block a user