diff --git a/README.md b/README.md index 6da2c59..878b546 100644 --- a/README.md +++ b/README.md @@ -79,7 +79,7 @@ I am working hard on continuously developing and maintaining Lychee. Please cons (MIT License) -Copyright (C) 2014 [Tobias Reich](http://electerious.com) +Copyright (C) 2015 [Tobias Reich](http://electerious.com) Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions: diff --git a/docs/Plugins.md b/docs/Plugins.md index 38d853b..3af2374 100644 --- a/docs/Plugins.md +++ b/docs/Plugins.md @@ -20,7 +20,7 @@ The plugin-system of Lychee allows you to execute scripts, when a certain action ### # @name ExamplePlugin # @author Tobias Reich -# @copyright 2014 by Tobias Reich +# @copyright 2015 by Tobias Reich ### if (!defined('LYCHEE')) exit('Error: Direct access is not allowed!'); @@ -36,7 +36,7 @@ class ExamplePlugin implements SplObserver { # Save them to access the database and settings of Lychee $this->database = $database; $this->settings = $settings; - + # Add more code here if wanted # __construct() will be called every time Lychee gets called # Make sure this part is performant @@ -55,9 +55,9 @@ class ExamplePlugin implements SplObserver { # $this->database => The database of Lychee # $this->settings => The settings of Lychee # $subject->args => Params passed to the original function - + return true; - + } } diff --git a/php/modules/Database.php b/php/modules/Database.php index 317a395..999d293 100755 --- a/php/modules/Database.php +++ b/php/modules/Database.php @@ -104,7 +104,7 @@ $config = "