diff --git a/code/Model/SiteTree.php b/code/Model/SiteTree.php index a94694f6..79751e08 100755 --- a/code/Model/SiteTree.php +++ b/code/Model/SiteTree.php @@ -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', '
' . _t(