remove $_L

This commit is contained in:
Ibnu Maksum
2024-03-30 12:02:57 +07:00
parent dcbb9434d6
commit 3a2e7c9192
12 changed files with 24 additions and 17 deletions

View File

@ -254,7 +254,13 @@ function r2($to, $ntype = 'e', $msg = '')
function _alert($text, $type = 'success', $url = "home", $time = 3)
{
global $ui;
global $ui, $isApi;
if ($isApi) {
showResult(
($type=='success')? true : false,
$text
);
}
if (!isset($ui)) return;
if (strlen($url) > 4) {
if (substr($url, 0, 4) != "http") {