Skip to content

Commit e23a53c

Browse files
committed
Update copyright year
1 parent e1e11c6 commit e23a53c

25 files changed

+28
-36
lines changed

Controller/Admin.php

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
<?php
22
/**
33
* @author Pierre-Henry Soria <phy@hizup.uk>
4-
* @copyright (c) 2015, Pierre-Henry Soria. All Rights Reserved.
4+
* @copyright (c) 2015-2017, Pierre-Henry Soria. All Rights Reserved.
55
* @license Lesser General Public License <http://www.gnu.org/copyleft/lesser.html>
66
* @link http://hizup.uk
77
*/
@@ -50,5 +50,4 @@ public function logout()
5050
header('Location: ' . ROOT_URL);
5151
exit;
5252
}
53-
5453
}

Controller/Blog.php

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
<?php
22
/**
33
* @author Pierre-Henry Soria <phy@hizup.uk>
4-
* @copyright (c) 2015, Pierre-Henry Soria. All Rights Reserved.
4+
* @copyright (c) 2015-2017, Pierre-Henry Soria. All Rights Reserved.
55
* @license Lesser General Public License <http://www.gnu.org/copyleft/lesser.html>
66
* @link http://hizup.uk
77
*/
@@ -10,7 +10,6 @@
1010

1111
class Blog
1212
{
13-
1413
protected $oUtil, $oModel;
1514
private $_iId;
1615

Engine/Config.php

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
<?php
22
/**
33
* @author Pierre-Henry Soria <phy@hizup.uk>
4-
* @copyright (c) 2015, Pierre-Henry Soria. All Rights Reserved.
4+
* @copyright (c) 2015-2017, Pierre-Henry Soria. All Rights Reserved.
55
* @license Lesser General Public License <http://www.gnu.org/copyleft/lesser.html>
66
* @link http://hizup.uk
77
*/
@@ -10,7 +10,6 @@
1010

1111
final class Config
1212
{
13-
1413
// Database info (if you want to test the script, please edit the below constants with yours)
1514
const
1615
DB_HOST = 'mymvcblog',
@@ -20,5 +19,4 @@ final class Config
2019

2120
// Title of the site
2221
SITE_NAME = 'My Simple Blog!';
23-
2422
}

Engine/Db.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
<?php
22
/**
33
* @author Pierre-Henry Soria <phy@hizup.uk>
4-
* @copyright (c) 2015, Pierre-Henry Soria. All Rights Reserved.
4+
* @copyright (c) 2015-2017, Pierre-Henry Soria. All Rights Reserved.
55
* @license Lesser General Public License <http://www.gnu.org/copyleft/lesser.html>
66
* @link http://hizup.uk
77
*/

Engine/Loader.php

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,20 +1,22 @@
11
<?php
22
/**
33
* @author Pierre-Henry Soria <phy@hizup.uk>
4-
* @copyright (c) 2015, Pierre-Henry Soria. All Rights Reserved.
4+
* @copyright (c) 2015-2017, Pierre-Henry Soria. All Rights Reserved.
55
* @license Lesser General Public License <http://www.gnu.org/copyleft/lesser.html>
66
* @link http://hizup.uk
77
*/
88

99
namespace TestProject\Engine;
1010

11+
use TestProject\Engine\Pattern\Singleton;
12+
1113
// First, include necessary Pattern classes
1214
require_once __DIR__ . '/Pattern/Base.trait.php';
1315
require_once __DIR__ . '/Pattern/Singleton.trait.php';
1416

1517
class Loader
1618
{
17-
use \TestProject\Engine\Pattern\Singleton; // Thanks Trait feature of PHP 5.4, I don't duplicate pattern code
19+
use Singleton; // Thanks Trait feature of PHP 5.4, I don't duplicate pattern code
1820

1921
public function init()
2022
{
@@ -33,5 +35,4 @@ private function _loadClasses($sClass)
3335
if (is_file(ROOT_PATH . $sClass . '.php'))
3436
require_once ROOT_PATH . $sClass . '.php';
3537
}
36-
3738
}

Engine/Pattern/Base.trait.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
<?php
22
/**
33
* @author Pierre-Henry Soria <phy@hizup.uk>
4-
* @copyright (c) 2015, Pierre-Henry Soria. All Rights Reserved.
4+
* @copyright (c) 2015-2017, Pierre-Henry Soria. All Rights Reserved.
55
* @license Lesser General Public License <http://www.gnu.org/copyleft/lesser.html>
66
* @link http://hizup.uk
77
*/

Engine/Pattern/Singleton.trait.php

Lines changed: 1 addition & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
<?php
22
/**
33
* @author Pierre-Henry Soria <phy@hizup.uk>
4-
* @copyright (c) 2015, Pierre-Henry Soria. All Rights Reserved.
4+
* @copyright (c) 2015-2017, Pierre-Henry Soria. All Rights Reserved.
55
* @license Lesser General Public License <http://www.gnu.org/copyleft/lesser.html>
66
* @link http://hizup.uk
77
*/
@@ -10,7 +10,6 @@
1010

1111
trait Singleton
1212
{
13-
1413
use Base;
1514

1615
protected static $_oInstance = null;
@@ -26,6 +25,4 @@ public static function getInstance()
2625
{
2726
return (null === static::$_oInstance) ? static::$_oInstance = new static : static::$_oInstance;
2827
}
29-
3028
}
31-

Engine/Router.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
<?php
22
/**
33
* @author Pierre-Henry Soria <phy@hizup.uk>
4-
* @copyright (c) 2015, Pierre-Henry Soria. All Rights Reserved.
4+
* @copyright (c) 2015-2017, Pierre-Henry Soria. All Rights Reserved.
55
* @license Lesser General Public License <http://www.gnu.org/copyleft/lesser.html>
66
* @link http://hizup.uk
77
*/

Engine/Util.php

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
<?php
22
/**
33
* @author Pierre-Henry Soria <phy@hizup.uk>
4-
* @copyright (c) 2015, Pierre-Henry Soria. All Rights Reserved.
4+
* @copyright (c) 2015-2017, Pierre-Henry Soria. All Rights Reserved.
55
* @license Lesser General Public License <http://www.gnu.org/copyleft/lesser.html>
66
* @link http://hizup.uk
77
*/
@@ -41,5 +41,4 @@ public function __set($sKey, $mVal)
4141
{
4242
$this->$sKey = $mVal;
4343
}
44-
4544
}

Model/Admin.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
<?php
22
/**
33
* @author Pierre-Henry Soria <phy@hizup.uk>
4-
* @copyright (c) 2015, Pierre-Henry Soria. All Rights Reserved.
4+
* @copyright (c) 2015-2017, Pierre-Henry Soria. All Rights Reserved.
55
* @license Lesser General Public License <http://www.gnu.org/copyleft/lesser.html>
66
* @link http://hizup.uk
77
*/

0 commit comments

Comments
 (0)