page: move showdate() into formatting include
[minimedit.git] / page.php
index a4440cb2ff7447e9b1f49f2eb7b4e167f7a9102b..f493c7fb04f8cca4619dedd1ba66b2985da9f334 100644 (file)
--- a/page.php
+++ b/page.php
@@ -83,6 +83,8 @@ if (isset($Page->raw)) {
 
 # output dynamic and/or static html
 
+include_once 'format.inc.php';
+
 ob_start();
 if ($Page->handler and !require("./{$Page->handler}/index.php")) {
        # replace contents by code output on false return