Project

General

Profile

Feature #20658 » 11391_followup_v2.patch

Administrator Admin, 2009-07-03 04:22

View differences:

index.php 2009-07-02 21:08:42.000000000 -0500
global $BE_USER,$LANG,$BACK_PATH,$TBE_MODULES;
// file creation / delete
if ($this->isAdmin) {
if ($GLOBALS['BE_USER']->isAdmin()) {
if (t3lib_div::_POST('deleteInstallToolEnableFile')) {
unlink(PATH_typo3conf . 'ENABLE_INSTALL_TOOL');
}
......
);
// Install Tool access file
if ($this->isAdmin) {
if ($GLOBALS['BE_USER']->isAdmin()) {
$installToolEnableFileExists = is_file(PATH_typo3conf . 'ENABLE_INSTALL_TOOL');
$installToolEnableButton = $installToolEnableFileExists ?
'<input type="submit" name="deleteInstallToolEnableFile" value="' . $LANG->getLL('enableInstallTool.deleteFile') . '" />' :
(3-3/3)