Skip to content

Commit

Permalink
API Remove references to non-existent installation tool (#166)
Browse files Browse the repository at this point in the history
  • Loading branch information
GuySartorelli authored Jun 13, 2024
1 parent 0d5ea7c commit e668e11
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 e668e11

Please sign in to comment.