From a4685b95b4f1cbf6be130200a33f336a46a94ff7 Mon Sep 17 00:00:00 2001 From: Stricted Date: Mon, 17 Feb 2014 00:50:52 +0100 Subject: [PATCH] update copyrights --- Feed.class.php | 20 ++++---------------- autoload.class.php | 20 ++++---------------- db.class.php | 22 +++++----------------- git.class.php | 20 ++++---------------- hash.class.php | 20 ++++---------------- 5 files changed, 21 insertions(+), 81 deletions(-) diff --git a/Feed.class.php b/Feed.class.php index 7f5f1e6..180c968 100644 --- a/Feed.class.php +++ b/Feed.class.php @@ -1,20 +1,8 @@ . +/** + * @author Jan Altensen (Stricted) + * @copyright 2013-2014 Jan Altensen (Stricted) + * @license GNU Lesser General Public License */ class FeedClass { public function __construct($url) { diff --git a/autoload.class.php b/autoload.class.php index a12ea1d..0329e02 100644 --- a/autoload.class.php +++ b/autoload.class.php @@ -1,20 +1,8 @@ . +/** + * @author Jan Altensen (Stricted) + * @copyright 2013-2014 Jan Altensen (Stricted) + * @license GNU Lesser General Public License */ class autoload { /* diff --git a/db.class.php b/db.class.php index 7a3fd10..ccca08e 100644 --- a/db.class.php +++ b/db.class.php @@ -1,23 +1,10 @@ . +/** + * @author Jan Altensen (Stricted) + * @copyright 2013-2014 Jan Altensen (Stricted) + * @license GNU Lesser General Public License */ -if (!extension_loaded("pdo")) die("Missing PDO PHP extension."); // check if extension loaded class DB { private $conn = NULL; private $error = NULL; @@ -28,6 +15,7 @@ class DB { * @return true/false */ public function connect($driver, $host, $user, $pass, $db, $port = Null) { + if (!extension_loaded("pdo")) die("Missing PDO PHP extension."); // check if extension loaded try { switch (strtolower($driver)) { case "mysql": diff --git a/git.class.php b/git.class.php index 22a8e0b..412ed71 100644 --- a/git.class.php +++ b/git.class.php @@ -1,20 +1,8 @@ . +/** + * @author Jan Altensen (Stricted) + * @copyright 2013-2014 Jan Altensen (Stricted) + * @license GNU Lesser General Public License */ class git { protected $repo; diff --git a/hash.class.php b/hash.class.php index 749b013..7db046e 100644 --- a/hash.class.php +++ b/hash.class.php @@ -1,20 +1,8 @@ . +/** + * @author Jan Altensen (Stricted) + * @copyright 2013-2014 Jan Altensen (Stricted) + * @license GNU Lesser General Public License */ class hash { protected $raw; -- 2.20.1