mirror of
https://github.com/e107inc/e107.git
synced 2025-08-03 21:27:25 +02:00
Update admin.php
This commit is contained in:
@@ -577,11 +577,13 @@ TMPO;
|
|||||||
|
|
||||||
if(@unlink($file))
|
if(@unlink($file))
|
||||||
{
|
{
|
||||||
$mes->addSuccess("Deleted ".$file);
|
$message = e107::getParser()->lanVars(LAN_UI_FILE_DELETED, array('x'=>$file));
|
||||||
|
$mes->addSuccess($message);
|
||||||
}
|
}
|
||||||
else
|
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);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user