Changeset 539 for trunk/admin/index.php
- Timestamp:
- May 15, 2013, 12:44:32 AM (12 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/admin/index.php
r538 r539 85 85 } 86 86 87 function ShowPHPInfo() 88 { 89 return(phpinfo()); 90 } 91 87 92 function Testing() 88 93 { 89 94 global $System; 90 95 91 $Output = '<a href="'.$System->Link('/admin/?action=error').'">Testovací chyba</a><br/>'. 96 $Output = '<a href="'.$System->Link('/admin/?action=phpinfo').'">PHP info</a><br/>'. 97 '<small>PHP informace</small><br/><br/>'. 98 '<a href="'.$System->Link('/admin/?action=error').'">Testovací chyba</a><br/>'. 92 99 '<small>Vyvolá testovací chybu</small><br/><br/>'. 93 100 '<a href="'.$System->Link('/admin/?action=exception').'">Testovací výjimka</a><br/>'. … … 109 116 else if($_GET['action'] == 'sqlerror') $Output .= TestSQLError('SELECT dads FROM sdas'); 110 117 else if($_GET['action'] == 'testing') $Output .= Testing(); 118 else if($_GET['action'] == 'phpinfo') $Output .= ShowPHPInfo(); 111 119 else if($_GET['action'] == 'addnew') 112 120 {
Note:
See TracChangeset
for help on using the changeset viewer.