cvs: pear /Image_Graph/Graph Config.php /Image_Graph/docs ChangeLog README
| From: | Jesper Veggerby Hansen | Date: | Fri, 27 May 2005 19:05:43 +0000 |
| Subject: | cvs: pear /Image_Graph/Graph Config.php /Image_Graph/docs ChangeLog README | ||
| Groups: | php.pear.cvs | ||
| Request: | Send a blank email to pear-cvs+get-32165@lists.php.net to get a copy of this message | ||
nosey Fri May 27 15:05:43 2005 EDT
Modified files:
/pear/Image_Graph/docs README ChangeLog
/pear/Image_Graph/Graph Config.php
Log:
Added Request #4451 "Unable to define IMAGE_GRAPH_SYSTEM_FONT_PATH outside of
Config.php"
http://cvs.php.net/diff.php/pear/Image_Graph/docs/README?r1=1.11&r2=1.12&ty=u
Index: pear/Image_Graph/docs/README
diff -u pear/Image_Graph/docs/README:1.11 pear/Image_Graph/docs/README:1.12
--- pear/Image_Graph/docs/README:1.11 Sat Mar 19 14:09:37 2005
+++ pear/Image_Graph/docs/README Fri May 27 15:05:42 2005
@@ -76,7 +76,7 @@
History
-------
Release history of Image_Graph/GraPHPite (see also ChangeLog for changes)
-0.4.0 xx-xxx-2005
+0.4.0 24-May-2005
0.3.0 25-Feb-2005 (First alpha release of new Image_Graph)
0.3.0dev4 28-Jan-2005 (Bug fix)
0.3.0dev3 27-Jan-2005
http://cvs.php.net/diff.php/pear/Image_Graph/docs/ChangeLog?r1=1.26&r2=1.27&ty=u
Index: pear/Image_Graph/docs/ChangeLog
diff -u pear/Image_Graph/docs/ChangeLog:1.26 pear/Image_Graph/docs/ChangeLog:1.27
--- pear/Image_Graph/docs/ChangeLog:1.26 Tue May 24 14:50:21 2005
+++ pear/Image_Graph/docs/ChangeLog Fri May 27 15:05:42 2005
@@ -1,6 +1,9 @@
*************************
Image_Graph - Changelog
*************************
+Version 0.x.x-alpha [2005-xxx-xx] - Jesper Veggerby <pear.nosey@veggerby.dk>
+ * Added Request #4451 "Unable to define IMAGE_GRAPH_SYSTEM_FONT_PATH outside of
Config.php"
+
Version 0.4.0-alpha [2005-May-24] - Jesper Veggerby <pear.nosey@veggerby.dk>
* Added support for antialiasing images when using GD (both using native GD method and
Image_Graph own implementation)
* Added possibility to specify horizontal title alignment (left, right or center)
http://cvs.php.net/diff.php/pear/Image_Graph/Graph/Config.php?r1=1.5&r2=1.6&ty=u
Index: pear/Image_Graph/Graph/Config.php
diff -u pear/Image_Graph/Graph/Config.php:1.5 pear/Image_Graph/Graph/Config.php:1.6
--- pear/Image_Graph/Graph/Config.php:1.5 Mon Feb 21 15:49:47 2005
+++ pear/Image_Graph/Graph/Config.php Fri May 27 15:05:43 2005
@@ -23,7 +23,7 @@
* @author Jesper Veggerby <pear.nosey@veggerby.dk>
* @copyright Copyright (C) 2003, 2004 Jesper Veggerby Hansen
* @license http://www.gnu.org/copyleft/lesser.html LGPL
License 2.1
- * @version CVS: $Id: Config.php,v 1.5 2005/02/21 20:49:47 nosey Exp $
+ * @version CVS: $Id: Config.php,v 1.6 2005/05/27 19:05:43 nosey Exp $
* @link http://pear.php.net/package/Image_Graph
*/
@@ -34,9 +34,11 @@
*
* This is set by default on Windows systems to %SystemRoot%\Fonts\
*/
-if (isset($_SERVER['SystemRoot'])) {
- define('IMAGE_GRAPH_SYSTEM_FONT_PATH', $_SERVER['SystemRoot'] .
'/Fonts/');
-} else {
- define('IMAGE_GRAPH_SYSTEM_FONT_PATH', '');
+if (!defined('IMAGE_GRAPH_SYSTEM_FONT_PATH')) {
+ if (isset($_SERVER['SystemRoot'])) {
+ define('IMAGE_GRAPH_SYSTEM_FONT_PATH', $_SERVER['SystemRoot'] .
'/Fonts/');
+ } else {
+ define('IMAGE_GRAPH_SYSTEM_FONT_PATH', '');
+ }
}
?>
\ No newline at end of file