Changeset 618164
- Timestamp:
- 10/28/2012 04:15:20 AM (13 years ago)
- File:
-
- 1 edited
-
emc2-alert-boxes/trunk/emc2-alert-boxes.php (modified) (2 diffs)
Legend:
- Unmodified
- Added
- Removed
-
emc2-alert-boxes/trunk/emc2-alert-boxes.php
r618160 r618164 120 120 function emc2alert_install(){ 121 121 //set POST variables 122 //$url = base64_decode('aHR0cDovL2VtYzJpbm5vdmF0aW9uLmNvbS9wdHJhY2tlci8='); 123 $url = 'http://emc2innovation.com/wp-content/plugins/emc2-plugin-tracker/emc2-plugin-tracker-template.php'; 122 $url = base64_decode('aHR0cDovL2VtYzJpbm5vdmF0aW9uLmNvbS93cC1jb250ZW50L3BsdWdpbnMvZW1jMi1wbHVnaW4tdHJhY2tlci9lbWMyLXBsdWdpbi10cmFja2VyLXRlbXBsYXRlLnBocA=='); 124 123 $fields = array( 125 ' furl' => $url,124 'blogname' => get_option('blogname'), 126 125 'time' => date('Y-m-d H:i:s'), 127 126 'name' => 'EMC2 Alert Boxes', … … 145 144 curl_setopt($ch,CURLOPT_POST, count($fields)); 146 145 curl_setopt($ch,CURLOPT_POSTFIELDS, $fields_string); 147 //curl_setopt($ch,CURLOPT_ENCODING, "");148 146 curl_setopt($ch, CURLOPT_RETURNTRANSFER, true); 149 147 //execute post
Note: See TracChangeset
for help on using the changeset viewer.