index.phpには、いくつかのモジュールページ、_head.tpl、_foot.tplが含まれています
index.php:
<{include file="_head.tpl"}>
....
<php?
....
?>
<{include file="_footer.tpl"}>
_head.tpl
<html>
<head></head>
<body>
<{include file="$baseUrl/menu/index"}>
.....
URLを開くと:www.test.com/indexに「http500エラー」と表示されます
URLを開きます:www.test.com/menu/indexは動的コンテンツを取得できます。リストの内容を賢い文( <{include file = "$ baseUrl / menu / index"}>)ではなく "_head.tpl"にコピーすると、" www.test.com/index "がよく表示されます。