- Timestamp:
- Apr 4, 2008, 8:16:56 AM (17 years ago)
- Location:
- www
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
www/config.sample.php
r49 r65 22 22 'WebcamPassword' => '', 23 23 'WebcamRefresh' => 5, 24 ), 24 'News' => array( 25 'DaysAgo' => 30, 26 'Count' => 5, 27 ), ), 25 28 ); 26 29 -
www/index.php
r64 r65 221 221 while($NewsCategory = $DbResult->fetch_array()) 222 222 { 223 $NewsSetting[] = array('CategoryId' => $NewsCategory['id'], 'Index' => $I, 'Enabled' => 1, 'ItemCount' => 5, 'DaysAgo' => 14);223 $NewsSetting[] = array('CategoryId' => $NewsCategory['id'], 'Index' => $I, 'Enabled' => 1, 'ItemCount' => $Config['Web']['News']['Count'], 'DaysAgo' => $Config['Web']['News']['DaysAgo']); 224 224 $I++; 225 225 }
Note:
See TracChangeset
for help on using the changeset viewer.