Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Newer
Older
100644 17 lines (15 sloc) 0.486 kB
f4e0a1c Display MySQL variables
jakubvrana authored
1 <?php
51e1ff7 Show status
jakubvrana authored
2 $status = isset($_GET["status"]);
3 page_header($status ? lang('Status') : lang('Variables'));
f4e0a1c Display MySQL variables
jakubvrana authored
4
b84252f Display SQLite compile options
jakubvrana authored
5 $variables = ($status ? show_status() : show_variables());
6 if (!$variables) {
7 echo "<p class='message'>" . lang('No rows.') . "\n";
8 } else {
9 echo "<table cellspacing='0'>\n";
10 foreach ($variables as $key => $val) {
11 echo "<tr>";
e672694 @vrana Rename $driver to $jush
authored
12 echo "<th><code class='jush-" . $jush . ($status ? "status" : "set") . "'>" . h($key) . "</code>";
b84252f Display SQLite compile options
jakubvrana authored
13 echo "<td>" . nbsp($val);
14 }
15 echo "</table>\n";
f4e0a1c Display MySQL variables
jakubvrana authored
16 }
Something went wrong with that request. Please try again.