Changeset 2958944
- Timestamp:
- 08/27/2023 07:57:33 PM (3 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
contests-from-rewards-fuel/trunk/includes/Class_rf.php
r2886870 r2958944 4 4 class Class_rf { 5 5 private $debug = false; 6 private $api_home ;6 private $api_home,$cl; 7 7 public function __construct() { 8 8 if ( defined( 'CONTESTS_FROM_REWARDS_FUEL_VERSION' ) ) { … … 11 11 $this->version = '2.0.59'; 12 12 } 13 $this->cl = $this; 13 14 $this->api_home ="https://app.rewardsfuel.com/api/wp_v2/";//todo update this to sub url 14 set_exception_handler(array('self', 'exc_handler'));15 set_error_handler(array('self', 'err_handler'));15 set_exception_handler(array($this->cl, 'exc_handler')); 16 set_error_handler(array($this->cl, 'err_handler')); 16 17 } 17 18
Note: See TracChangeset
for help on using the changeset viewer.