Revision 558
Added by Matthias almost 18 years ago
| intro.php | ||
|---|---|---|
| 29 | 29 |
$admin = new admin('Pages', 'pages_intro');
|
| 30 | 30 |
|
| 31 | 31 |
// Get page content |
| 32 |
$filename = WB_PATH.'/pages/intro.php';
|
|
| 32 |
$filename = WB_PATH.PAGES_DIRECTORY.'/intro'.PAGE_EXTENSION;
|
|
| 33 | 33 |
if(file_exists($filename)) {
|
| 34 | 34 |
$handle = fopen($filename, "r"); |
| 35 | 35 |
$content = fread($handle, filesize($filename)); |
Also available in: Unified diff
Fixed hardcoded /pages issue in intro page feature