mirror of
https://github.com/hotspotbilling/phpnuxbill.git
synced 2025-08-02 09:14:34 +02:00
fix critical bug customer can recharge without balance when using balance. and move Balance to select Gateway
This commit is contained in:
parent
32a64d944a
commit
6db2f2bf0d
10 changed files with 266 additions and 317 deletions
|
@ -79,9 +79,10 @@ $handler = $routes[0];
|
|||
if ($handler == '') {
|
||||
$handler = 'default';
|
||||
}
|
||||
|
||||
try {
|
||||
if(!empty($_GET['uid'])){
|
||||
$_COOKIE['uid'] = $_GET['token'];
|
||||
$_COOKIE['uid'] = $_GET['uid'];
|
||||
}
|
||||
$admin = Admin::_info();
|
||||
$sys_render = $root_path . File::pathFixer('system/controllers/' . $handler . '.php');
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue