<?php // vim: sw=4:ts=4 /** * @version 00.04.09 * @package polaring * * File: configuration.php * Role: Users own variables **/ ////////////////////////////////// // PERSONAL INFORMATION ////////////////////////////////// // User name (thus far, mainly used for diary) $configUser = "USER"; // Users max-hr (temporary; will be set differently in the future) $configMaxhr = 190; // MaxHR ////////////////////////////////// // PAGE SETTINGS ////////////////////////////////// $configMenuMode = "0"; // 0 = tab (default); 1 = left-column menu $configTranslation = "./translations/english.xml"; $configUnitSpeed = "min/km"; // km/h or min/km $configWeekStartDay = "1"; /* week starts on? YET TO BE IMPLEMENTED 0 = Sunday 1 = Monday 2 = Tuesday 3 = Wednesday 4 = Thursday 5 = Friday 6 = Saturday */ $configFooter = ""; // Footer (can be used for site-image, external link, or whatever. // Valid ip for viewing $configValidIp['settings'] = "127.0.0.1"; $configValidIp['tools'] = "127.0.0.1"; $configValidIp['diary'] = "127.0.0.1"; $configValidIp['upload'] = "127.0.0.1"; ////////////////////////////////// // Jpgraph settings ////////////////////////////////// // Path to jpgraph // (needed for graphs) $configJpgraphdir = "/usr/share/php5/jpgraph"; $configJpgraphTTYenabled = false; $configTTYpath = "/usr/share/fonts/TTF"; ////////////////////////////////// // MySQL settings ////////////////////////////////// $configMySQL['on'] = false; // Use MySQL, true/false $configMySQL['server'] = "localhost"; // server $configMySQL['table'] = "polaring"; // table $configMySQL['user'] = "USER"; // user $configMySQL['password'] = "PASSWORD"; // password ////////////////////////////////// // PATHWAYS ////////////////////////////////// // Path to workouts $configExercisedir = "/home/USER/polar/raw"; // Path to userdata *MUST BE WRITABLE* $configUserdatadir = "./userdata"; // Path to upload-dir *MUST BE WRITABLE (for uploading)* $configUploaddir = "./userdata/upload"; // Where to store temporary files *MUST BE WRITABLE* $configTempdir = "./userdata/temp"; // Path to s710 // (Currently, srd2hrm is required. This may change in the future however.) $configS710dir = ""; // Path to unzip -- if left empty, zip support is disabled $configUnzipdir = ""; ////////////////////////////////// // GOOGLE MAPS ////////////////////////////////// // Amount of points in the google-map // 100 = default // 0 = *every* $configMapPoints = "100"; $configGmapsApi = ""; ?>