mirror of
https://github.com/e107inc/e107.git
synced 2025-04-20 20:51:53 +02:00
Update admin.php
This commit is contained in:
parent
2669bfcc46
commit
426e36458d
@ -577,11 +577,13 @@ TMPO;
|
||||
|
||||
if(@unlink($file))
|
||||
{
|
||||
$mes->addSuccess("Deleted ".$file);
|
||||
$message = e107::getParser()->lanVars(LAN_UI_FILE_DELETED, array('x'=>$file));
|
||||
$mes->addSuccess($message);
|
||||
}
|
||||
else
|
||||
{
|
||||
$mes->addError("Unable to delete ".$file.". Please remove the file manually.");
|
||||
$message = e107::getParser()->lanVars(LAN_UI_FILE_DELETED_FAILED, array('x'=>$file));
|
||||
$mes->addError($message);
|
||||
}
|
||||
}
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user