From f519e95c0273317d7eb6e0c4f6221185c8eb48b6 Mon Sep 17 00:00:00 2001 From: slerena Date: Sat, 1 Jul 2006 01:56:32 +0000 Subject: [PATCH] * Now Pandora needs a TTF font for displaying ProgressBar. It will be stored in config.php. git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@70 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f --- pandora_console/include/config.php | 9 +++++++-- 1 file changed, 7 insertions(+), 2 deletions(-) diff --git a/pandora_console/include/config.php b/pandora_console/include/config.php index 56667947e6..f5aac6663c 100644 --- a/pandora_console/include/config.php +++ b/pandora_console/include/config.php @@ -9,7 +9,8 @@ // Base config file //Pandora Version -$build_version="PC060627"; //PCddmmyy + +$build_version="PC060630"; //PCddmmyy $pandora_version="v1.2 Beta 2"; // Database configuration @@ -18,7 +19,9 @@ $dbuser="pandora"; // DB User $dbpassword="pandora"; // Password $dbhost="localhost"; // MySQL Host $dbtype="mysql"; // Type of Database, now only "mysql" its supported -$attachment_store="/var/www/"; //This is directory where placed "attachment" directory, to upload files stores. This MUST be writtable by wwwserver user, and should be in pandora root. Please append "/" to the end :-) +$attachment_store="/var/www/pandora_console"; //This is directory where placed "attachment" directory, to upload files stores. This MUST be writtable by wwwserver user, and should be in pandora root. Please append "/" to the end :-) +$config_fontpath = "/usr/share/fonts/truetype/msttcorefonts/arial.ttf"; + // Read rest of config from DB if (! mysql_pconnect($dbhost,$dbuser,$dbpassword)){ //Persistent connection. If you want non-persistent conn change it to mysql_connect() @@ -45,6 +48,8 @@ while ($row2=mysql_fetch_array($result2)){ break; case "graph_order": $config_graph_order=$row2["value"]; break; + case "bgimage": $config_bgimage=$row2["value"]; + break; } } ?>