1

Topic: [suggestion] display OS release in admin pane

admin pane, index, Statistics, Environment, Operating system.

i think it would be useful to use php_uname(r)  to display os release, too.

Re: [suggestion] display OS release in admin pane

I don't know how useful it would be (or how much of a mess the output would be for some OSes). Also, how useful is that information for the average forum admin? I think if you need it in your case, you would be better off just adding it in wink

3

Re: [suggestion] display OS release in admin pane

Smartys wrote:

I don't know how useful it would be (or how much of a mess the output would be for some OSes). Also, how useful is that information for the average forum admin? I think if you need it in your case, you would be better off just adding it in wink

ok, its a matter of point of view. not even the display of os is that useful. anyway i tried out your idea tongue

--- admin_index.php    2007-01-31 00:33:46.000000000 +0100
+++ admin_index.php.patched    2007-01-31 00:33:48.000000000 +0100
@@ -184,7 +184,7 @@
                     </dd>
 <?php if ($pun_user['g_id'] == PUN_ADMIN): ?>                    <dt>Environment</dt>
                     <dd>
-                        Operating system: <?php echo PHP_OS ?><br />
+                        Operating system: <?php echo PHP_OS." ".php_uname(r) ?><br />
                         PHP: <?php echo phpversion() ?> - <a href="admin_index.php?action=phpinfo">Show info</a><br />
                         Accelerator: <?php echo $php_accelerator."\n" ?>
                     </dd>