add variable to global

This commit is contained in:
Ibnu Maksum 2024-03-01 10:36:24 +07:00
parent f4da09a26e
commit bc7380eab7
No known key found for this signature in database
GPG Key ID: 7FC82848810579E5

View File

@ -19,7 +19,7 @@ class Package
*/ */
public static function rechargeUser($id_customer, $router_name, $plan_id, $gateway, $channel) public static function rechargeUser($id_customer, $router_name, $plan_id, $gateway, $channel)
{ {
global $config, $admin; global $config, $admin, $c, $p, $b, $t, $d;
$date_now = date("Y-m-d H:i:s"); $date_now = date("Y-m-d H:i:s");
$date_only = date("Y-m-d"); $date_only = date("Y-m-d");
$time_only = date("H:i:s"); $time_only = date("H:i:s");