- Timestamp:
- 11/17/10 13:49:30 (18 months ago)
- Location:
- branches/1.4
- Files:
-
- 2 modified
-
install/index.php (modified) (2 diffs)
-
libs/SystemInfo.php (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
-
branches/1.4/install/index.php
r2227 r2229 750 750 $phpinfo = $cage->post->getAlpha('phpinfo'); // delete install folder. 751 751 752 if (!$phpinfo) { 753 //send feedback report 754 $systeminfo = new SystemInfo(); 755 $systeminfo->hotaru_feedback($h); 756 } 757 752 758 echo html_header(); 753 759 … … 819 825 820 826 echo "<br/><div class='install_content'>" . $lang['upgrade_step3_details'] . "<br/><br/>\n"; 827 828 //send feedback report 829 $systeminfo = new SystemInfo(); 830 $systeminfo->hotaru_feedback($h); 821 831 822 832 echo "<br/>" . $lang['upgrade_step3_instructions'] . "<br/><br/>\n"; -
branches/1.4/libs/SystemInfo.php
r2222 r2229 27 27 { 28 28 /** 29 * Calls external site to provide system info feedback report 30 * 31 * @return bool true 32 */ 33 public function hotaru_feedback($h, $format = 'json') 34 { 35 $report = $h->generateReport("object"); 36 37 $query_vals = array( 38 'api_key' => '', 39 'format' => $format, 40 'method' => 'hotaru.systemFeedback.add', 41 'args' => serialize($report) 42 ); 43 44 $info = $this->sendApiRequest($h, $query_vals, 'http://api.hotarucms.org/index.php?page=api'); 45 46 return true; 47 } 48 49 50 /** 29 51 * Get system data 30 52 *