[prev in list] [next in list] [prev in thread] [next in thread] 

List:       os-sim-commits
Subject:    [Os-sim-commits] os-sim/www/panel custom_graph.php,1.11,1.12
From:       "Tomas V.V.Cox" <tvvcox () users ! sourceforge ! net>
Date:       2006-05-31 10:28:09
Message-ID: E1FlNvu-0005Et-Ij () mail ! sourceforge ! net
[Download RAW message or body]

Update of /cvsroot/os-sim/os-sim/www/panel
In directory sc8-pr-cvs3.sourceforge.net:/tmp/cvs-serv11662/www/panel

Modified Files:
	custom_graph.php 
Log Message:
Detect unsupported features in JPGraph old versions (ie. the one installed by default \
by Debian - 5 years old now)

Index: custom_graph.php
===================================================================
RCS file: /cvsroot/os-sim/os-sim/www/panel/custom_graph.php,v
retrieving revision 1.11
retrieving revision 1.12
diff -u -d -r1.11 -r1.12
--- custom_graph.php	30 May 2006 16:02:18 -0000	1.11
+++ custom_graph.php	31 May 2006 10:28:06 -0000	1.12
@@ -175,6 +175,9 @@
     }
 
     if (!empty($options['graph_show_values'])) {
+        if (!method_exists($plot->value, 'show')) {
+            mydie("This JPGraph version does not support 'Show values', please \
update it."); +        }
         $plot->value->Show();
     }
 



-------------------------------------------------------
All the advantages of Linux Managed Hosting--Without the Cost and Risk!
Fully trained technicians. The highest number of Red Hat certifications in
the hosting industry. Fanatical Support. Click to learn more
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=107521&bid=248729&dat=121642
_______________________________________________
Os-sim-commits mailing list
Os-sim-commits@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/os-sim-commits


[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic