$this->headers();
- if (preg_match('/html$/',self::$content_type)) {
- #if (self::is('html')) {
+# NB 17.01.19 if (preg_match('/html$/',self::$content_type)) {
+ if (self::is('html')) {
echo $this->doctype();
if ($this->base) $this->page->head[] = '<base href="' . $this->base . '/" />';
$this->page->begin();
- echo '<div id="page-body" class="container">';
+ if ($this->is_html) {
+ echo '<div id="page-body" class="container">';
+ }
} # if (empty($this->_nopage)) {
$this->db->out($rows,$head,$conf);
+ if ($this->is_html) {
+ echo '</div>'; # page-body
+ }
+
if (empty($this->_nopage)) {
$bottom = [];
- echo '</div>'; # page-body
+# NB 17.01.19 echo '</div>'; # page-body
$this->page_bottom();
$this->page->end();
--- /dev/null
+DirectoryIndex index.php
+RewriteEngine on
+RewriteCond %{REQUEST_FILENAME} !-f
+RewriteCond %{REQUEST_FILENAME} !-d
+RewriteRule ^(.*)$ /index.php?$1 [QSA,L]