From 75527cd2ec49a31008bd74e7179dd55cab14a2d7 Mon Sep 17 00:00:00 2001 From: Diego Najar Date: Sun, 6 Aug 2017 22:09:24 +0200 Subject: [PATCH] Minor changes on get slug from content --- bl-kernel/admin/views/edit-page.php | 2 +- bl-kernel/boot/init.php | 2 +- install.php | 1 + 3 files changed, 3 insertions(+), 2 deletions(-) diff --git a/bl-kernel/admin/views/edit-page.php b/bl-kernel/admin/views/edit-page.php index ee37c311..bae9afa1 100644 --- a/bl-kernel/admin/views/edit-page.php +++ b/bl-kernel/admin/views/edit-page.php @@ -154,7 +154,7 @@ echo '
'; // Parent input // Check if the page has children - if(count($page->children())===0) { + if(count($page->children())==0) { $options = array(); $parentsList = $dbPages->getParents(); $parentsKey = array_keys($parentsList); diff --git a/bl-kernel/boot/init.php b/bl-kernel/boot/init.php index 7ba2f234..c7c8acbd 100644 --- a/bl-kernel/boot/init.php +++ b/bl-kernel/boot/init.php @@ -111,7 +111,7 @@ define('CLI_STATUS', 'published'); define('CLI_USERNAME', 'admin'); // Filename -define('FILENAME', 'index.md'); +define('FILENAME', 'index.txt'); // Database date format define('DB_DATE_FORMAT', 'Y-m-d H:i:s'); diff --git a/install.php b/install.php index ae2bb9b7..4a87e159 100644 --- a/install.php +++ b/install.php @@ -591,6 +591,7 @@ if( $_SERVER['REQUEST_METHOD'] == 'POST' ) { +