mirror of
https://github.com/e107inc/e107.git
synced 2025-08-02 12:48:26 +02:00
Update hero_setup.php
This commit is contained in:
@@ -31,12 +31,12 @@ if(!class_exists("hero_setup"))
|
|||||||
|
|
||||||
if(!empty($ret['success']))
|
if(!empty($ret['success']))
|
||||||
{
|
{
|
||||||
e107::getMessage()->addSuccess("Default slides imported.");
|
e107::getMessage()->addSuccess(LAN_HERO_SUCC);
|
||||||
}
|
}
|
||||||
|
|
||||||
if(!empty($ret['failed']))
|
if(!empty($ret['failed']))
|
||||||
{
|
{
|
||||||
e107::getMessage()->addError("Failed to import default slides.");
|
e107::getMessage()->addError(LAN_HERO_ERR);
|
||||||
e107::getMessage()->addDebug(print_a($ret['failed'],true));
|
e107::getMessage()->addDebug(print_a($ret['failed'],true));
|
||||||
}
|
}
|
||||||
|
|
||||||
@@ -72,4 +72,4 @@ if(!class_exists("hero_setup"))
|
|||||||
|
|
||||||
}
|
}
|
||||||
|
|
||||||
}
|
}
|
||||||
|
Reference in New Issue
Block a user