Changeset 6 for config.sample.php
- Timestamp:
- Oct 16, 2007, 10:12:26 PM (17 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
config.sample.php
r1 r6 2 2 3 3 $Config = array( 4 ' database' => array(5 ' host' => 'localhost',6 ' user' => 'stat',7 ' password' => 'serepes',8 ' database' => 'statistic',9 ' prefix' => '',10 ' charset' => 'latin2',4 'Database' => array( 5 'Host' => 'localhost', 6 'User' => 'root', 7 'Password' => '', 8 'Database' => 'statistic', 9 'Prefix' => '', 10 'Charset' => 'latin2', 11 11 ), 12 'add_url' => 'http://localhost/statistic/new/add.php', 12 'AddNewValueUrl' => 'http://localhost/dev/statistic/add.php', 13 'Debug' => 0, 14 'Web' => array( 15 'Title' => 'Statistika', 16 'Charset' => 'iso-8859-2', 17 ), 18 'DivisionCount' => 500, 19 'LevelReducing' => 5, 20 'MaxLevel' => 4, 21 'ReferenceTime' => 0, 22 'ImageWidth' => 750, 23 'ImageHeight' => 200, 24 'ValueToImageHeigthCoefficient' => 0.9, 25 'FontFileName' => 'arial.ttf', 26 'FontSize' => 10, 27 'DefaultVariables' => array( 28 'TimeStart' => time() - 3600*24, 29 'TimeEnd' => time(), 30 'Measure' => 1, 31 'Period' => 'day', 32 'TimeSpecify' => 5, 33 ), 13 34 ); 14 35 36 // For back compatibility during development 37 $DivisionCount = $Config['DivisionCount']; 38 $ReferenceTime = $Config['ReferenceTime']; 39 $LevelReducing = $Config['LevelReducing']; 40 $MaxLevel = $Config['MaxLevel']; 41 $DefaultWidth = $Config['ImageWidth']; 42 $DefaultHeight = $Config['ImageHeight']; 43 $K = $Config['ValueToImageHeigthCoefficient']; 44 $FontFile = $Config['FontFileName']; 45 $FontSize = $Config['FontSize']; 46 15 47 ?>
Note:
See TracChangeset
for help on using the changeset viewer.