Changeset 3361324
- Timestamp:
- 09/14/2025 03:34:16 PM (5 months ago)
- Location:
- wpappninja/trunk
- Files:
-
- 4 edited
-
inc/api/push.php (modified) (3 diffs)
-
inc/api/rewrite.php (modified) (1 diff)
-
readme.txt (modified) (1 diff)
-
wpappninja.php (modified) (2 diffs)
Legend:
- Unmodified
- Added
- Removed
-
wpappninja/trunk/inc/api/push.php
r3361270 r3361324 23 23 function wpmobile_getOauthToken() { 24 24 25 if (isset($_GET['pagename']) == 'googlebearer') { 26 echo 'OPTION: '. get_option('wpmobile_firebase_config', ''); 27 echo "\r\n"; 28 echo "\r\n"; 29 } 30 25 31 if (get_option('wpmobile_firebase_config', '') == '') { 26 32 return; … … 28 34 29 35 $authConfigString = @file_get_contents(get_option('wpmobile_firebase_config', '')); 36 37 if (isset($_GET['pagename']) == 'googlebearer') { 38 echo 'FILE: '. $authConfigString; 39 echo "\r\n"; 40 echo "\r\n"; 41 } 42 30 43 $authConfig = json_decode($authConfigString); 31 44 $secret = openssl_get_privatekey($authConfig->private_key); … … 58 71 $context = stream_context_create($options); 59 72 $responseText = file_get_contents("https://oauth2.googleapis.com/token", false, $context); 73 74 if (isset($_GET['pagename']) == 'googlebearer') { 75 echo 'RESPONSE: '. $responseText; 76 echo "\r\n"; 77 echo "\r\n"; 78 } 60 79 61 80 $responseOAuth = json_decode($responseText, true); -
wpappninja/trunk/inc/api/rewrite.php
r2772204 r3361324 136 136 break; 137 137 138 case 'googlebearer': 139 if (current_user_can('administrator')) { 140 $output = wpmobile_getOauthToken(); 141 } 142 break; 143 138 144 case 'pemfile': 139 145 $output = @file_get_contents(get_option('wpappninja_pem_file', '')); -
wpappninja/trunk/readme.txt
r3361270 r3361324 12 12 13 13 == Changelog == 14 15 = 11.69 = 16 * Add more debug info 14 17 15 18 = 11.68 = -
wpappninja/trunk/wpappninja.php
r3361270 r3361324 4 4 Plugin URI: https://wpmobile.app/ 5 5 Description: Android and iOS mobile application. Easy setup, free test. 6 Version: 11.6 86 Version: 11.69 7 7 Author: Amauri 8 8 Author URI: https://wpmobile.app/ … … 15 15 16 16 // common 17 define( 'WPAPPNINJA_VERSION' , '11.6 8' );17 define( 'WPAPPNINJA_VERSION' , '11.69' ); 18 18 define( 'WPAPPNINJA_VERSION_APP' , '100' ); 19 19
Note: See TracChangeset
for help on using the changeset viewer.