<?php
-// vim: set expandtab tabstop=4 shiftwidth=4 foldmethod=marker:
+// vim: set expandtab tabstop=4 shiftwidth=4 foldmethod=marker binary:
// +--------------------------------------------------------------------+
// | BIFE - Buil It FastEr |
// +--------------------------------------------------------------------+
$file = (@$_SERVER['PATH_INFO'] and ($_SERVER['PATH_INFO'] != '/'))
? ".{$_SERVER['PATH_INFO']}"
: 'index.xbf';
+if (substr($file, strlen($file)-1) == '/') {
+ $file .= 'index.xbf';
+}
// }}}
// Looks if we want to show the source {{{
echo $page->render($template);
// }}}
-?>
+?>
\ No newline at end of file