aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorThomas Lange <code@nerdmind.de>2017-10-24 02:42:33 +0200
committerThomas Lange <code@nerdmind.de>2017-10-24 02:42:33 +0200
commit7cdbf9efcc542701b489e8814628bf6a3b48074e (patch)
tree1a3b30240cad8677c279e3efddd722d9d016ca29
parent5350bb7abb102a537b8dafcc6cf46679f4b52c50 (diff)
downloadblog-7cdbf9efcc542701b489e8814628bf6a3b48074e.tar.gz
blog-7cdbf9efcc542701b489e8814628bf6a3b48074e.tar.xz
blog-7cdbf9efcc542701b489e8814628bf6a3b48074e.zip
Some comments have been updated, unnecessary whitespace at the end of some files was removed and some missing PHP closing tags were added.
-rw-r--r--403.php2
-rw-r--r--404.php2
-rw-r--r--admin/auth.php5
-rw-r--r--admin/database.php2
-rw-r--r--admin/index.php2
-rw-r--r--admin/page/delete.php5
-rw-r--r--admin/page/index.php2
-rw-r--r--admin/page/insert.php2
-rw-r--r--admin/page/search.php2
-rw-r--r--admin/page/update.php2
-rw-r--r--admin/post/delete.php5
-rw-r--r--admin/post/index.php2
-rw-r--r--admin/post/insert.php2
-rw-r--r--admin/post/search.php2
-rw-r--r--admin/post/update.php2
-rw-r--r--admin/user/delete.php5
-rw-r--r--admin/user/index.php2
-rw-r--r--admin/user/insert.php2
-rw-r--r--admin/user/update.php2
-rw-r--r--core/include/page/main.php3
-rw-r--r--core/include/post/main.php3
-rw-r--r--core/include/user/main.php3
-rw-r--r--index.php2
-rw-r--r--template/admin/html/403.php2
-rw-r--r--template/admin/html/home.php2
-rw-r--r--template/standard/html/home.php2
26 files changed, 33 insertions, 34 deletions
diff --git a/403.php b/403.php
index d0bcf87..54f01ba 100644
--- a/403.php
+++ b/403.php
@@ -1,6 +1,6 @@
<?php
#===============================================================================
-# INCLUDE: Main configuration
+# INCLUDE: Initialization
#===============================================================================
require_once 'core/application.php';
diff --git a/404.php b/404.php
index 2da35cc..f3c76de 100644
--- a/404.php
+++ b/404.php
@@ -1,6 +1,6 @@
<?php
#===============================================================================
-# INCLUDE: Main configuration
+# INCLUDE: Initialization
#===============================================================================
require_once 'core/application.php';
diff --git a/admin/auth.php b/admin/auth.php
index 7232940..e2e1b57 100644
--- a/admin/auth.php
+++ b/admin/auth.php
@@ -5,7 +5,7 @@
define('ADMINISTRATION', TRUE);
#===============================================================================
-# INCLUDE: Main configuration
+# INCLUDE: Initialization
#===============================================================================
require '../core/application.php';
@@ -75,5 +75,4 @@ try {
catch(Template\Exception $Exception) {
Application::exit($Exception->getMessage());
}
-?>
-
+?> \ No newline at end of file
diff --git a/admin/database.php b/admin/database.php
index bc25b76..d37e158 100644
--- a/admin/database.php
+++ b/admin/database.php
@@ -6,7 +6,7 @@ define('ADMINISTRATION', TRUE);
define('AUTHENTICATION', TRUE);
#===============================================================================
-# INCLUDE: Main configuration
+# INCLUDE: Initialization
#===============================================================================
require '../core/application.php';
diff --git a/admin/index.php b/admin/index.php
index 7e0b838..1f8d9f6 100644
--- a/admin/index.php
+++ b/admin/index.php
@@ -6,7 +6,7 @@ define('ADMINISTRATION', TRUE);
define('AUTHENTICATION', TRUE);
#===============================================================================
-# INCLUDE: Main configuration
+# INCLUDE: Initialization
#===============================================================================
require '../core/application.php';
diff --git a/admin/page/delete.php b/admin/page/delete.php
index 890188e..d23089c 100644
--- a/admin/page/delete.php
+++ b/admin/page/delete.php
@@ -6,7 +6,7 @@ define('ADMINISTRATION', TRUE);
define('AUTHENTICATION', TRUE);
#===============================================================================
-# INCLUDE: Main configuration
+# INCLUDE: Initialization
#===============================================================================
require '../../core/application.php';
@@ -63,5 +63,4 @@ try {
catch(Page\Exception $Exception) {
Application::error404();
}
-?>
-
+?> \ No newline at end of file
diff --git a/admin/page/index.php b/admin/page/index.php
index eeedbc1..c14bf13 100644
--- a/admin/page/index.php
+++ b/admin/page/index.php
@@ -6,7 +6,7 @@ define('ADMINISTRATION', TRUE);
define('AUTHENTICATION', TRUE);
#===============================================================================
-# INCLUDE: Main configuration
+# INCLUDE: Initialization
#===============================================================================
require '../../core/application.php';
diff --git a/admin/page/insert.php b/admin/page/insert.php
index b550434..d95a33d 100644
--- a/admin/page/insert.php
+++ b/admin/page/insert.php
@@ -6,7 +6,7 @@ define('ADMINISTRATION', TRUE);
define('AUTHENTICATION', TRUE);
#===============================================================================
-# INCLUDE: Main configuration
+# INCLUDE: Initialization
#===============================================================================
require '../../core/application.php';
diff --git a/admin/page/search.php b/admin/page/search.php
index c718caa..d97370d 100644
--- a/admin/page/search.php
+++ b/admin/page/search.php
@@ -6,7 +6,7 @@ define('ADMINISTRATION', TRUE);
define('AUTHENTICATION', TRUE);
#===============================================================================
-# INCLUDE: Main configuration
+# INCLUDE: Initialization
#===============================================================================
require '../../core/application.php';
diff --git a/admin/page/update.php b/admin/page/update.php
index f8d790a..f0bef1e 100644
--- a/admin/page/update.php
+++ b/admin/page/update.php
@@ -6,7 +6,7 @@ define('ADMINISTRATION', TRUE);
define('AUTHENTICATION', TRUE);
#===============================================================================
-# INCLUDE: Main configuration
+# INCLUDE: Initialization
#===============================================================================
require '../../core/application.php';
diff --git a/admin/post/delete.php b/admin/post/delete.php
index 80f3a70..78fdf6e 100644
--- a/admin/post/delete.php
+++ b/admin/post/delete.php
@@ -6,7 +6,7 @@ define('ADMINISTRATION', TRUE);
define('AUTHENTICATION', TRUE);
#===============================================================================
-# INCLUDE: Main configuration
+# INCLUDE: Initialization
#===============================================================================
require '../../core/application.php';
@@ -63,5 +63,4 @@ try {
catch(Post\Exception $Exception) {
Application::error404();
}
-?>
-
+?> \ No newline at end of file
diff --git a/admin/post/index.php b/admin/post/index.php
index 5130612..57b19e9 100644
--- a/admin/post/index.php
+++ b/admin/post/index.php
@@ -6,7 +6,7 @@ define('ADMINISTRATION', TRUE);
define('AUTHENTICATION', TRUE);
#===============================================================================
-# INCLUDE: Main configuration
+# INCLUDE: Initialization
#===============================================================================
require '../../core/application.php';
diff --git a/admin/post/insert.php b/admin/post/insert.php
index d3e1b96..d35d527 100644
--- a/admin/post/insert.php
+++ b/admin/post/insert.php
@@ -6,7 +6,7 @@ define('ADMINISTRATION', TRUE);
define('AUTHENTICATION', TRUE);
#===============================================================================
-# INCLUDE: Main configuration
+# INCLUDE: Initialization
#===============================================================================
require '../../core/application.php';
diff --git a/admin/post/search.php b/admin/post/search.php
index 3369be2..c2c83ca 100644
--- a/admin/post/search.php
+++ b/admin/post/search.php
@@ -6,7 +6,7 @@ define('ADMINISTRATION', TRUE);
define('AUTHENTICATION', TRUE);
#===============================================================================
-# INCLUDE: Main configuration
+# INCLUDE: Initialization
#===============================================================================
require '../../core/application.php';
diff --git a/admin/post/update.php b/admin/post/update.php
index c21b96e..d2cf979 100644
--- a/admin/post/update.php
+++ b/admin/post/update.php
@@ -6,7 +6,7 @@ define('ADMINISTRATION', TRUE);
define('AUTHENTICATION', TRUE);
#===============================================================================
-# INCLUDE: Main configuration
+# INCLUDE: Initialization
#===============================================================================
require '../../core/application.php';
diff --git a/admin/user/delete.php b/admin/user/delete.php
index 28d1b2a..16f0d76 100644
--- a/admin/user/delete.php
+++ b/admin/user/delete.php
@@ -6,7 +6,7 @@ define('ADMINISTRATION', TRUE);
define('AUTHENTICATION', TRUE);
#===============================================================================
-# INCLUDE: Main configuration
+# INCLUDE: Initialization
#===============================================================================
require '../../core/application.php';
@@ -63,5 +63,4 @@ try {
catch(User\Exception $Exception) {
Application::error404();
}
-?>
-
+?> \ No newline at end of file
diff --git a/admin/user/index.php b/admin/user/index.php
index ca4dcab..b474fc8 100644
--- a/admin/user/index.php
+++ b/admin/user/index.php
@@ -6,7 +6,7 @@ define('ADMINISTRATION', TRUE);
define('AUTHENTICATION', TRUE);
#===============================================================================
-# INCLUDE: Main configuration
+# INCLUDE: Initialization
#===============================================================================
require '../../core/application.php';
diff --git a/admin/user/insert.php b/admin/user/insert.php
index 14b1f13..53d35df 100644
--- a/admin/user/insert.php
+++ b/admin/user/insert.php
@@ -6,7 +6,7 @@ define('ADMINISTRATION', TRUE);
define('AUTHENTICATION', TRUE);
#===============================================================================
-# INCLUDE: Main configuration
+# INCLUDE: Initialization
#===============================================================================
require '../../core/application.php';
diff --git a/admin/user/update.php b/admin/user/update.php
index 9e6ce01..becfdc5 100644
--- a/admin/user/update.php
+++ b/admin/user/update.php
@@ -6,7 +6,7 @@ define('ADMINISTRATION', TRUE);
define('AUTHENTICATION', TRUE);
#===============================================================================
-# INCLUDE: Main configuration
+# INCLUDE: Initialization
#===============================================================================
require '../../core/application.php';
diff --git a/core/include/page/main.php b/core/include/page/main.php
index 18ba4c8..e50445a 100644
--- a/core/include/page/main.php
+++ b/core/include/page/main.php
@@ -87,4 +87,5 @@ catch(Page\Exception $Exception) {
#===============================================================================
catch(User\Exception $Exception) {
Application::exit($Exception->getMessage());
-} \ No newline at end of file
+}
+?> \ No newline at end of file
diff --git a/core/include/post/main.php b/core/include/post/main.php
index f091a4c..3cdb792 100644
--- a/core/include/post/main.php
+++ b/core/include/post/main.php
@@ -87,4 +87,5 @@ catch(Post\Exception $Exception) {
#===============================================================================
catch(User\Exception $Exception) {
Application::exit($Exception->getMessage());
-} \ No newline at end of file
+}
+?> \ No newline at end of file
diff --git a/core/include/user/main.php b/core/include/user/main.php
index b2b054a..1028a2e 100644
--- a/core/include/user/main.php
+++ b/core/include/user/main.php
@@ -95,4 +95,5 @@ catch(User\Exception $Exception) {
catch(User\Exception $Exception) {
Application::error404();
}
-} \ No newline at end of file
+}
+?> \ No newline at end of file
diff --git a/index.php b/index.php
index 0697ed3..842da61 100644
--- a/index.php
+++ b/index.php
@@ -1,6 +1,6 @@
<?php
#===============================================================================
-# INCLUDE: Main configuration
+# INCLUDE: Initialization
#===============================================================================
require 'core/application.php';
diff --git a/template/admin/html/403.php b/template/admin/html/403.php
index f9a0afd..6fb3d16 100644
--- a/template/admin/html/403.php
+++ b/template/admin/html/403.php
@@ -1,2 +1,2 @@
<h1><i class="fa fa-exclamation-triangle"></i><?=$Language->text('403_heading_text')?></h1>
-<p><?=$Language->text('403_heading_desc')?></p>
+<p><?=$Language->text('403_heading_desc')?></p> \ No newline at end of file
diff --git a/template/admin/html/home.php b/template/admin/html/home.php
index 7698035..9d8aee2 100644
--- a/template/admin/html/home.php
+++ b/template/admin/html/home.php
@@ -45,4 +45,4 @@
</div>
<?php else: ?>
<p><em><?=$Language->text('home_no_users')?></em></p>
-<?php endif; ?>
+<?php endif; ?> \ No newline at end of file
diff --git a/template/standard/html/home.php b/template/standard/html/home.php
index f2aa20e..d49c71b 100644
--- a/template/standard/html/home.php
+++ b/template/standard/html/home.php
@@ -16,4 +16,4 @@
<?php endforeach; ?>
</div>
-<?=$PAGINATION['HTML']?>
+<?=$PAGINATION['HTML']?> \ No newline at end of file