Skip to content

Commit

Permalink
ENH Remove references to non-existent installer tool
Browse files Browse the repository at this point in the history
  • Loading branch information
GuySartorelli committed Jun 11, 2024
1 parent 0d5ea7c commit 0478d94
Showing 1 changed file with 0 additions and 14 deletions.
14 changes: 0 additions & 14 deletions code/SiteConfig.php
Original file line number Diff line number Diff line change
Expand Up @@ -277,20 +277,6 @@ public function getCMSFields()
}
}

if (file_exists(BASE_PATH . '/install.php')) {
$fields->addFieldToTab(
'Root.Main',
LiteralField::create(
'InstallWarningHeader',
'<div class="alert alert-warning">' . _t(
'SilverStripe\\CMS\\Model\\SiteTree.REMOVE_INSTALL_WARNING',
'Warning: You should remove install.php from this SilverStripe install for security reasons.'
) . '</div>'
),
'Title'
);
}

$tabMain->setTitle(_t(self::class . '.TABMAIN', "Main"));
$tabAccess->setTitle(_t(self::class . '.TABACCESS', "Access"));
$this->extend('updateCMSFields', $fields);
Expand Down

0 comments on commit 0478d94

Please sign in to comment.