5.4版裡garland的template.php

剛剛更新後,發現這個檔案以

<?php
標籤開頭,

可是卻沒有
?>
結尾。

這是本來就這樣,正常嗎?

east@drupalchina.org 的照片

Re: 5.4版裡garland的template.php

php最後一個 ?> 可以省略
---------
瞅瞅

jimmy 的照片

Re: 5.4版裡garland的template.php

為了避免印出多餘空白的問題。 :)

--
from open mind to open source~

wandererm 的照片

Re: 5.4版裡garland的template.php

原來如此,感謝解答。