mirror of
https://github.com/silverstripe/silverstripe-cms
synced 2024-10-22 08:05:56 +02:00
Merge pull request #7 from silverstripe-security/pulls/4.3/joseph-installin
[CVE-2019-12204]: install.php warning does not account for public dir
This commit is contained in:
commit
c7e44f85aa
@ -2011,7 +2011,7 @@ class SiteTree extends DataObject implements PermissionProvider, i18nEntityProvi
|
||||
);
|
||||
}
|
||||
|
||||
if (file_exists(BASE_PATH . '/install.php')) {
|
||||
if (file_exists(PUBLIC_PATH . '/install.php')) {
|
||||
$fields->addFieldToTab('Root.Main', LiteralField::create(
|
||||
'InstallWarningHeader',
|
||||
'<div class="alert alert-warning">' . _t(
|
||||
|
Loading…
Reference in New Issue
Block a user