diff options
Diffstat (limited to 'core')
37 files changed, 0 insertions, 37 deletions
diff --git a/core/application.php b/core/application.php index a9850aa..7179369 100644 --- a/core/application.php +++ b/core/application.php @@ -186,4 +186,3 @@ if(Application::get('CORE.SEND_304') === TRUE AND !defined('ADMINISTRATION')) { } } } -?>
\ No newline at end of file diff --git a/core/configuration-example.php b/core/configuration-example.php index f87117b..f99d130 100644 --- a/core/configuration-example.php +++ b/core/configuration-example.php @@ -27,4 +27,3 @@ Application::set('DATABASE.PASSWORD', ''); Application::set('TEMPLATE.NAME', 'default'); Application::set('TEMPLATE.LANG', Application::get('CORE.LANGUAGE')); Application::set('ADMIN.LANGUAGE', Application::get('CORE.LANGUAGE')); -?>
\ No newline at end of file diff --git a/core/functions.php b/core/functions.php index ac4478f..ef2814a 100644 --- a/core/functions.php +++ b/core/functions.php @@ -331,4 +331,3 @@ function USER(int $id): array { return []; } } -?>
\ No newline at end of file diff --git a/core/include/feed/main.php b/core/include/feed/main.php index b8e03dc..cd53fa0 100644 --- a/core/include/feed/main.php +++ b/core/include/feed/main.php @@ -80,4 +80,3 @@ try { catch(Template\Exception $Exception) { Application::exit($Exception->getMessage()); } -?>
\ No newline at end of file diff --git a/core/include/home.php b/core/include/home.php index ce91558..bb96837 100644 --- a/core/include/home.php +++ b/core/include/home.php @@ -52,4 +52,3 @@ try { catch(Template\Exception $Exception) { Application::exit($Exception->getMessage()); } -?>
\ No newline at end of file diff --git a/core/include/page/list.php b/core/include/page/list.php index 022478e..6bda9cf 100644 --- a/core/include/page/list.php +++ b/core/include/page/list.php @@ -75,4 +75,3 @@ try { catch(Template\Exception $Exception) { Application::exit($Exception->getMessage()); } -?>
\ No newline at end of file diff --git a/core/include/page/main.php b/core/include/page/main.php index 7f1aa02..6086345 100644 --- a/core/include/page/main.php +++ b/core/include/page/main.php @@ -93,4 +93,3 @@ catch(Page\Exception $Exception) { catch(User\Exception $Exception) { Application::exit($Exception->getMessage()); } -?>
\ No newline at end of file diff --git a/core/include/post/list.php b/core/include/post/list.php index 3ba2dba..e3b37c3 100644 --- a/core/include/post/list.php +++ b/core/include/post/list.php @@ -75,4 +75,3 @@ try { catch(Template\Exception $Exception) { Application::exit($Exception->getMessage()); } -?>
\ No newline at end of file diff --git a/core/include/post/main.php b/core/include/post/main.php index aa5dc50..d891416 100644 --- a/core/include/post/main.php +++ b/core/include/post/main.php @@ -93,4 +93,3 @@ catch(Post\Exception $Exception) { catch(User\Exception $Exception) { Application::exit($Exception->getMessage()); } -?>
\ No newline at end of file diff --git a/core/include/search/main.php b/core/include/search/main.php index 8854b79..db9a77a 100644 --- a/core/include/search/main.php +++ b/core/include/search/main.php @@ -87,4 +87,3 @@ try { catch(Template\Exception $Exception) { Application::exit($Exception->getMessage()); } -?>
\ No newline at end of file diff --git a/core/include/user/list.php b/core/include/user/list.php index 4ce9fc8..f715a55 100644 --- a/core/include/user/list.php +++ b/core/include/user/list.php @@ -71,4 +71,3 @@ try { catch(Template\Exception $Exception) { Application::exit($Exception->getMessage()); } -?>
\ No newline at end of file diff --git a/core/include/user/main.php b/core/include/user/main.php index 4f30020..ee1fa76 100644 --- a/core/include/user/main.php +++ b/core/include/user/main.php @@ -100,4 +100,3 @@ catch(User\Exception $Exception) { Application::error404(); } } -?>
\ No newline at end of file diff --git a/core/language/de.php b/core/language/de.php index 5d29d5d..2f008da 100644 --- a/core/language/de.php +++ b/core/language/de.php @@ -210,4 +210,3 @@ $LANGUAGE['title_search_results'] = 'Ergebnisse für "%s"'; $LANGUAGE['feed_name_items'] = '%s [alle Inhalte]'; $LANGUAGE['feed_name_pages'] = '%s [nur Seiten]'; $LANGUAGE['feed_name_posts'] = '%s [nur Beiträge]'; -?>
\ No newline at end of file diff --git a/core/language/en.php b/core/language/en.php index dc70154..eeec0a9 100644 --- a/core/language/en.php +++ b/core/language/en.php @@ -210,4 +210,3 @@ $LANGUAGE['title_search_results'] = 'Results for "%s"'; $LANGUAGE['feed_name_items'] = '%s [all content]'; $LANGUAGE['feed_name_pages'] = '%s [only pages]'; $LANGUAGE['feed_name_posts'] = '%s [only posts]'; -?>
\ No newline at end of file diff --git a/core/namespace/Application.php b/core/namespace/Application.php index a45e1e8..64e562d 100644 --- a/core/namespace/Application.php +++ b/core/namespace/Application.php @@ -163,4 +163,3 @@ class Application { exit(); } } -?>
\ No newline at end of file diff --git a/core/namespace/Attribute.php b/core/namespace/Attribute.php index 32cfa0a..505a4cd 100644 --- a/core/namespace/Attribute.php +++ b/core/namespace/Attribute.php @@ -82,4 +82,3 @@ abstract class Attribute implements AttributeInterface { return $Statement->execute([$this->get('id')]); } } -?>
\ No newline at end of file diff --git a/core/namespace/AttributeInterface.php b/core/namespace/AttributeInterface.php index 74cd1f1..7a7c38c 100644 --- a/core/namespace/AttributeInterface.php +++ b/core/namespace/AttributeInterface.php @@ -4,4 +4,3 @@ interface AttributeInterface { public function databaseUPDATE(\Database $Database); public function databaseDELETE(\Database $Database); } -?>
\ No newline at end of file diff --git a/core/namespace/Database.php b/core/namespace/Database.php index ae233f4..54fb36b 100644 --- a/core/namespace/Database.php +++ b/core/namespace/Database.php @@ -4,4 +4,3 @@ class Database extends \PDO { parent::__construct("mysql:host={$hostname};dbname={$basename};charset=utf8mb4;", $username, $password); } } -?>
\ No newline at end of file diff --git a/core/namespace/Factory.php b/core/namespace/Factory.php index 38be666..779b890 100644 --- a/core/namespace/Factory.php +++ b/core/namespace/Factory.php @@ -16,4 +16,3 @@ abstract class Factory implements FactoryInterface { return self::$storage[get_called_class()][$identifier] ?? FALSE; } } -?>
\ No newline at end of file diff --git a/core/namespace/FactoryInterface.php b/core/namespace/FactoryInterface.php index 54a115b..e9017d6 100644 --- a/core/namespace/FactoryInterface.php +++ b/core/namespace/FactoryInterface.php @@ -2,4 +2,3 @@ interface FactoryInterface { public static function build($identifier); } -?>
\ No newline at end of file diff --git a/core/namespace/HTTP.php b/core/namespace/HTTP.php index c8aea27..9145539 100644 --- a/core/namespace/HTTP.php +++ b/core/namespace/HTTP.php @@ -228,4 +228,3 @@ class HTTP { } } } -?>
\ No newline at end of file diff --git a/core/namespace/Item.php b/core/namespace/Item.php index c009740..02de382 100644 --- a/core/namespace/Item.php +++ b/core/namespace/Item.php @@ -169,4 +169,3 @@ abstract class Item implements ItemInterface { return 0; } } -?>
\ No newline at end of file diff --git a/core/namespace/ItemFactory.php b/core/namespace/ItemFactory.php index dec136f..d81ff9f 100644 --- a/core/namespace/ItemFactory.php +++ b/core/namespace/ItemFactory.php @@ -21,4 +21,3 @@ abstract class ItemFactory extends Factory { return self::build($Item::getIDByField('slug', $slug, \Application::getDatabase())); } } -?>
\ No newline at end of file diff --git a/core/namespace/ItemInterface.php b/core/namespace/ItemInterface.php index e7ccb6a..efee734 100644 --- a/core/namespace/ItemInterface.php +++ b/core/namespace/ItemInterface.php @@ -2,4 +2,3 @@ interface ItemInterface { public function __construct($itemID, \Database $Database); } -?>
\ No newline at end of file diff --git a/core/namespace/Language.php b/core/namespace/Language.php index fdaf104..f082b37 100644 --- a/core/namespace/Language.php +++ b/core/namespace/Language.php @@ -49,4 +49,3 @@ class Language { return $this->text($name, $params); } } -?>
\ No newline at end of file diff --git a/core/namespace/Page/Attribute.php b/core/namespace/Page/Attribute.php index b1c4e01..05eaa33 100644 --- a/core/namespace/Page/Attribute.php +++ b/core/namespace/Page/Attribute.php @@ -20,4 +20,3 @@ class Attribute extends \Attribute { #=============================================================================== const TABLE = 'page'; } -?>
\ No newline at end of file diff --git a/core/namespace/Page/Exception.php b/core/namespace/Page/Exception.php index d4794b7..c41bddc 100644 --- a/core/namespace/Page/Exception.php +++ b/core/namespace/Page/Exception.php @@ -2,4 +2,3 @@ namespace Page; class Exception extends \Exception {} -?>
\ No newline at end of file diff --git a/core/namespace/Page/Factory.php b/core/namespace/Page/Factory.php index 4b8d390..2fcc361 100644 --- a/core/namespace/Page/Factory.php +++ b/core/namespace/Page/Factory.php @@ -2,4 +2,3 @@ namespace Page; class Factory extends \ItemFactory {} -?>
\ No newline at end of file diff --git a/core/namespace/Page/Item.php b/core/namespace/Page/Item.php index e3bf6a3..d559b81 100644 --- a/core/namespace/Page/Item.php +++ b/core/namespace/Page/Item.php @@ -40,4 +40,3 @@ class Item extends \Item { return []; } } -?>
\ No newline at end of file diff --git a/core/namespace/Post/Attribute.php b/core/namespace/Post/Attribute.php index 73af3a2..20aafae 100644 --- a/core/namespace/Post/Attribute.php +++ b/core/namespace/Post/Attribute.php @@ -20,4 +20,3 @@ class Attribute extends \Attribute { #=============================================================================== const TABLE = 'post'; } -?>
\ No newline at end of file diff --git a/core/namespace/Post/Exception.php b/core/namespace/Post/Exception.php index 516ddbe..29b9345 100644 --- a/core/namespace/Post/Exception.php +++ b/core/namespace/Post/Exception.php @@ -2,4 +2,3 @@ namespace Post; class Exception extends \Exception {} -?>
\ No newline at end of file diff --git a/core/namespace/Post/Factory.php b/core/namespace/Post/Factory.php index 4ad8ac8..20b29cc 100644 --- a/core/namespace/Post/Factory.php +++ b/core/namespace/Post/Factory.php @@ -2,4 +2,3 @@ namespace Post; class Factory extends \ItemFactory {} -?>
\ No newline at end of file diff --git a/core/namespace/Post/Item.php b/core/namespace/Post/Item.php index a269ce4..0f2c6a5 100644 --- a/core/namespace/Post/Item.php +++ b/core/namespace/Post/Item.php @@ -47,4 +47,3 @@ class Item extends \Item { return []; } } -?>
\ No newline at end of file diff --git a/core/namespace/Router.php b/core/namespace/Router.php index b6221d1..803a8e0 100644 --- a/core/namespace/Router.php +++ b/core/namespace/Router.php @@ -61,4 +61,3 @@ class Router { } } } -?>
\ No newline at end of file diff --git a/core/namespace/Template/Exception.php b/core/namespace/Template/Exception.php index a38ee1d..3bfbf63 100644 --- a/core/namespace/Template/Exception.php +++ b/core/namespace/Template/Exception.php @@ -2,4 +2,3 @@ namespace Template; class Exception extends \Exception {} -?>
\ No newline at end of file diff --git a/core/namespace/Template/Factory.php b/core/namespace/Template/Factory.php index 3b40998..7e56a79 100644 --- a/core/namespace/Template/Factory.php +++ b/core/namespace/Template/Factory.php @@ -15,4 +15,3 @@ class Factory extends \Factory implements \FactoryInterface { return $Template; } } -?>
\ No newline at end of file diff --git a/core/namespace/Template/Template.php b/core/namespace/Template/Template.php index 16459fb..25034a2 100644 --- a/core/namespace/Template/Template.php +++ b/core/namespace/Template/Template.php @@ -41,4 +41,3 @@ class Template { return ob_get_clean(); } } -?>
\ No newline at end of file |