Project

General

Profile

« Previous | Next » 

Revision 558

Added by Matthias almost 17 years ago

Fixed hardcoded /pages issue in intro page feature

View differences:

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