mirror of
https://github.com/hotspotbilling/phpnuxbill.git
synced 2025-08-29 14:28:13 +02:00
Fix typo
fixed typo in device, change demo to Demo
This commit is contained in:
parent
949a3d27eb
commit
2863d70214
2 changed files with 8 additions and 8 deletions
|
@ -214,7 +214,7 @@ class MikrotikHotspot
|
||||||
function getClient($ip, $user, $pass)
|
function getClient($ip, $user, $pass)
|
||||||
{
|
{
|
||||||
global $_app_stage;
|
global $_app_stage;
|
||||||
if ($_app_stage == 'demo') {
|
if ($_app_stage == 'Demo') {
|
||||||
return null;
|
return null;
|
||||||
}
|
}
|
||||||
$iport = explode(":", $ip);
|
$iport = explode(":", $ip);
|
||||||
|
@ -224,7 +224,7 @@ class MikrotikHotspot
|
||||||
function removeHotspotUser($client, $username)
|
function removeHotspotUser($client, $username)
|
||||||
{
|
{
|
||||||
global $_app_stage;
|
global $_app_stage;
|
||||||
if ($_app_stage == 'demo') {
|
if ($_app_stage == 'Demo') {
|
||||||
return null;
|
return null;
|
||||||
}
|
}
|
||||||
$printRequest = new RouterOS\Request(
|
$printRequest = new RouterOS\Request(
|
||||||
|
@ -242,7 +242,7 @@ class MikrotikHotspot
|
||||||
function addHotspotUser($client, $plan, $customer)
|
function addHotspotUser($client, $plan, $customer)
|
||||||
{
|
{
|
||||||
global $_app_stage;
|
global $_app_stage;
|
||||||
if ($_app_stage == 'demo') {
|
if ($_app_stage == 'Demo') {
|
||||||
return null;
|
return null;
|
||||||
}
|
}
|
||||||
$addRequest = new RouterOS\Request('/ip/hotspot/user/add');
|
$addRequest = new RouterOS\Request('/ip/hotspot/user/add');
|
||||||
|
@ -310,7 +310,7 @@ class MikrotikHotspot
|
||||||
function setHotspotUser($client, $user, $pass)
|
function setHotspotUser($client, $user, $pass)
|
||||||
{
|
{
|
||||||
global $_app_stage;
|
global $_app_stage;
|
||||||
if ($_app_stage == 'demo') {
|
if ($_app_stage == 'Demo') {
|
||||||
return null;
|
return null;
|
||||||
}
|
}
|
||||||
$printRequest = new RouterOS\Request('/ip/hotspot/user/print');
|
$printRequest = new RouterOS\Request('/ip/hotspot/user/print');
|
||||||
|
@ -327,7 +327,7 @@ class MikrotikHotspot
|
||||||
function setHotspotUserPackage($client, $username, $plan_name)
|
function setHotspotUserPackage($client, $username, $plan_name)
|
||||||
{
|
{
|
||||||
global $_app_stage;
|
global $_app_stage;
|
||||||
if ($_app_stage == 'demo') {
|
if ($_app_stage == 'Demo') {
|
||||||
return null;
|
return null;
|
||||||
}
|
}
|
||||||
$printRequest = new RouterOS\Request('/ip/hotspot/user/print');
|
$printRequest = new RouterOS\Request('/ip/hotspot/user/print');
|
||||||
|
@ -344,7 +344,7 @@ class MikrotikHotspot
|
||||||
function removeHotspotActiveUser($client, $username)
|
function removeHotspotActiveUser($client, $username)
|
||||||
{
|
{
|
||||||
global $_app_stage;
|
global $_app_stage;
|
||||||
if ($_app_stage == 'demo') {
|
if ($_app_stage == 'Demo') {
|
||||||
return null;
|
return null;
|
||||||
}
|
}
|
||||||
$onlineRequest = new RouterOS\Request('/ip/hotspot/active/print');
|
$onlineRequest = new RouterOS\Request('/ip/hotspot/active/print');
|
||||||
|
@ -360,7 +360,7 @@ class MikrotikHotspot
|
||||||
function getIpHotspotUser($client, $username)
|
function getIpHotspotUser($client, $username)
|
||||||
{
|
{
|
||||||
global $_app_stage;
|
global $_app_stage;
|
||||||
if ($_app_stage == 'demo') {
|
if ($_app_stage == 'Demo') {
|
||||||
return null;
|
return null;
|
||||||
}
|
}
|
||||||
$printRequest = new RouterOS\Request(
|
$printRequest = new RouterOS\Request(
|
||||||
|
|
|
@ -1058,7 +1058,7 @@
|
||||||
<br>
|
<br>
|
||||||
<h4><b>{Lang::T('Settings For Cron Expired')}</b></h4>
|
<h4><b>{Lang::T('Settings For Cron Expired')}</b></h4>
|
||||||
<p>
|
<p>
|
||||||
# {Lang::T('Expired Cronjob Every 5 Minutes')}<br>
|
# {Lang::T('Expired Cronjob Every 5 Minutes [Recommended]')}<br>
|
||||||
*/5 * * * * cd {$dir} && {$php} cron.php
|
*/5 * * * * cd {$dir} && {$php} cron.php
|
||||||
<br><br>
|
<br><br>
|
||||||
# {Lang::T('Expired Cronjob Every 1 Hour')}<br>
|
# {Lang::T('Expired Cronjob Every 1 Hour')}<br>
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue