mirror of
https://github.com/hotspotbilling/phpnuxbill.git
synced 2025-08-03 09:45:03 +02:00
remove $_L
This commit is contained in:
parent
dcbb9434d6
commit
3a2e7c9192
12 changed files with 24 additions and 17 deletions
8
init.php
8
init.php
|
@ -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") {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue