function __construct() { require_once '/application/third_party/pingpp/init.php'; $this->appId = "app_fX9ijPX1qTK4DeLK"; \Pingpp\Pingpp::setApiKey(\Pingpp\Pingpp::getApiKey()); $this->load->model('order_model'); $this->load->model('user_payment_model'); $this->load->model('withdraw_model'); }