summaryrefslogtreecommitdiffstats
path: root/core
diff options
context:
space:
mode:
authorThomas Lange <code@nerdmind.de>2017-09-02 15:07:35 +0200
committerThomas Lange <code@nerdmind.de>2017-09-02 15:07:35 +0200
commite12cea77d8dabaf8bcaa30a0efb6ad8be0a15260 (patch)
tree3e9418f6718fa6b5138e2dbb9175df80d81cb476 /core
parente0fc0f469303825d4155721e90bfa6f2062c836e (diff)
downloadblog-e12cea77d8dabaf8bcaa30a0efb6ad8be0a15260.tar.gz
blog-e12cea77d8dabaf8bcaa30a0efb6ad8be0a15260.tar.xz
blog-e12cea77d8dabaf8bcaa30a0efb6ad8be0a15260.zip
An unnecessary "else" block in admin/auth.php was removed and spelling mistakes and inconsistencies in some comments were corrected.
Diffstat (limited to 'core')
-rw-r--r--core/application.php2
-rw-r--r--core/namespace/Application.php2
2 files changed, 2 insertions, 2 deletions
diff --git a/core/application.php b/core/application.php
index 72f854a..7ba66fe 100644
--- a/core/application.php
+++ b/core/application.php
@@ -86,7 +86,7 @@ catch(PDOException $Exception) {
}
#===============================================================================
-# Check if "304 Not Modified" and ETag header should be send
+# Check if "304 Not Modified" and ETag header should be sent
#===============================================================================
if(Application::get('CORE.SEND_304') === TRUE AND !defined('ADMINISTRATION')) {
diff --git a/core/namespace/Application.php b/core/namespace/Application.php
index 4a6414a..8c3be12 100644
--- a/core/namespace/Application.php
+++ b/core/namespace/Application.php
@@ -34,7 +34,7 @@ class Application {
}
#===============================================================================
- # Return singleton PDO database instance
+ # Return singleton Database instance
#===============================================================================
public static function getDatabase($force = FALSE): Database {
if(!self::$Database instanceof Database OR $force === TRUE) {