Skip to content

Commit 37bc0ef

Browse files
committed
chore(license): update headers across codebase
Signed-off-by: otengkwame <[email protected]>
1 parent 373ff1a commit 37bc0ef

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

79 files changed

+254
-181
lines changed

CodeIgniter/Framework/core/CI.php

Lines changed: 5 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -1,18 +1,12 @@
11
<?php
22

33
/**
4-
* CodeIgniter Object and Instance
4+
* This file is part of WebbyPHP Framework.
55
*
6-
* Greatly inspired by CoreIgniter and Rougin/SparkPlug
6+
* (c) Kwame Oteng Appiah-Nti <[email protected]>
77
*
8-
* Had to expand on it due to Webby's work around
9-
*
10-
* I think this wil be useful :)
11-
*
12-
* @author Rougin Gutib <[email protected]>
13-
* @author Oteng Kwame Appiah-Nti <[email protected]>
14-
* @license MIT
15-
* @version 1.0.0
8+
* For the full copyright and license information, please view the LICENSE
9+
* file that was distributed with this source code.
1610
*/
1711

1812
class CI_CodeIgniter
@@ -21,7 +15,7 @@ class CI_CodeIgniter
2115
/**
2216
* Version of this library
2317
*/
24-
const VERSION = '1.0.0';
18+
const VERSION = '3.0.0';
2519

2620
/**
2721
* Internal storage of CodeIgniter

CodeIgniter/Framework/core/CodeIgniter.php

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,8 @@
99
*
1010
* This content is released under the MIT License (MIT)
1111
*
12-
* Copyright (c) 2014 - 2019, British Columbia Institute of Technology
12+
* Copyright (c) 2019 - 2022, CodeIgniter Foundation
13+
* Copyright (c) 2020 - present, WebbyPHP Framework
1314
*
1415
* Permission is hereby granted, free of charge, to any person obtaining a copy
1516
* of this software and associated documentation files (the "Software"), to deal
@@ -33,9 +34,12 @@
3334
* @author EllisLab Dev Team
3435
* @copyright Copyright (c) 2008 - 2014, EllisLab, Inc. (https://ellislab.com/)
3536
* @copyright Copyright (c) 2014 - 2019, British Columbia Institute of Technology (https://bcit.ca/)
37+
* @copyright Copyright (c) 2019 - 2022, CodeIgniter Foundation (https://codeigniter.com/)
38+
* @copyright Copyright (c) 2020 - present, WebbyPHP Framework (https://webbyphp.top)
3639
* @license https://opensource.org/licenses/MIT MIT License
3740
* @link https://codeigniter.com
3841
* @since Version 1.0.0
42+
* @since WebbyPHP Version 3.0.0
3943
* @filesource
4044
*/
4145
defined('BASEPATH') || exit('No direct script access allowed');

CodeIgniter/Framework/core/Common.php

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,8 @@
77
*
88
* This content is released under the MIT License (MIT)
99
*
10-
* Copyright (c) 2014 - 2019, British Columbia Institute of Technology
10+
* Copyright (c) 2019 - 2022, CodeIgniter Foundation
11+
* Copyright (c) 2020 - present, WebbyPHP Framework
1112
*
1213
* Permission is hereby granted, free of charge, to any person obtaining a copy
1314
* of this software and associated documentation files (the "Software"), to deal
@@ -31,9 +32,12 @@
3132
* @author EllisLab Dev Team
3233
* @copyright Copyright (c) 2008 - 2014, EllisLab, Inc. (https://ellislab.com/)
3334
* @copyright Copyright (c) 2014 - 2019, British Columbia Institute of Technology (https://bcit.ca/)
35+
* @copyright Copyright (c) 2019 - 2022, CodeIgniter Foundation (https://codeigniter.com/)
36+
* @copyright Copyright (c) 2020 - present, WebbyPHP Framework (https://webbyphp.top)
3437
* @license https://opensource.org/licenses/MIT MIT License
3538
* @link https://codeigniter.com
3639
* @since Version 1.0.0
40+
* @since WebbyPHP Version 3.0.0
3741
* @filesource
3842
*/
3943
defined('BASEPATH') || exit('No direct script access allowed');

CodeIgniter/Framework/core/Config.php

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@
77
*
88
* This content is released under the MIT License (MIT)
99
*
10-
* Copyright (c) 2014 - 2019, British Columbia Institute of Technology
10+
* Copyright (c) 2019 - 2022, CodeIgniter Foundation
1111
*
1212
* Permission is hereby granted, free of charge, to any person obtaining a copy
1313
* of this software and associated documentation files (the "Software"), to deal
@@ -31,6 +31,7 @@
3131
* @author EllisLab Dev Team
3232
* @copyright Copyright (c) 2008 - 2014, EllisLab, Inc. (https://ellislab.com/)
3333
* @copyright Copyright (c) 2014 - 2019, British Columbia Institute of Technology (https://bcit.ca/)
34+
* @copyright Copyright (c) 2019 - 2022, CodeIgniter Foundation (https://codeigniter.com/)
3435
* @license https://opensource.org/licenses/MIT MIT License
3536
* @link https://codeigniter.com
3637
* @since Version 1.0.0

CodeIgniter/Framework/core/Controller.php

Lines changed: 5 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,8 @@
99
*
1010
* This content is released under the MIT License (MIT)
1111
*
12-
* Copyright (c) 2014 - 2019, British Columbia Institute of Technology
12+
* Copyright (c) 2019 - 2022, CodeIgniter Foundation
13+
* Copyright (c) 2020 - present, WebbyPHP Framework
1314
*
1415
* Permission is hereby granted, free of charge, to any person obtaining a copy
1516
* of this software and associated documentation files (the "Software"), to deal
@@ -33,12 +34,14 @@
3334
* @author EllisLab Dev Team
3435
* @copyright Copyright (c) 2008 - 2014, EllisLab, Inc. (https://ellislab.com/)
3536
* @copyright Copyright (c) 2014 - 2019, British Columbia Institute of Technology (https://bcit.ca/)
37+
* @copyright Copyright (c) 2019 - 2022, CodeIgniter Foundation (https://codeigniter.com/)
38+
* @copyright Copyright (c) 2020 - present, WebbyPHP Framework (https://webbyphp.top)
3639
* @license https://opensource.org/licenses/MIT MIT License
3740
* @link https://codeigniter.com
3841
* @since Version 1.0.0
42+
* @since WebbyPHP Version 3.0.0
3943
* @filesource
4044
*/
41-
4245
/**
4346
* Application Controller Class
4447
*

CodeIgniter/Framework/core/ErrorHandler.php

Lines changed: 6 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -1,16 +1,12 @@
11
<?php
22

33
/**
4-
* Modern Error Handler for WebbyPHP or CodeIgniter 3
5-
*
6-
* Inspired by https://github.com/brqt/
7-
*
8-
* Enhanced implementation with better integration,
9-
* performance optimization, and additional features
10-
* for an improved developer experience.
11-
*
12-
* @author Kwame Oteng Appiah-Nti <[email protected]>
13-
*
4+
* This file is part of WebbyPHP Framework.
5+
*
6+
* (c) Kwame Oteng Appiah-Nti <[email protected]>
7+
*
8+
* For the full copyright and license information, please view the LICENSE
9+
* file that was distributed with this source code.
1410
*/
1511

1612
class CI_ErrorHandler

CodeIgniter/Framework/core/Exceptions.php

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,8 @@
77
*
88
* This content is released under the MIT License (MIT)
99
*
10-
* Copyright (c) 2014 - 2019, British Columbia Institute of Technology
10+
* Copyright (c) 2019 - 2022, CodeIgniter Foundation
11+
* Copyright (c) 2020 - present, WebbyPHP Framework
1112
*
1213
* Permission is hereby granted, free of charge, to any person obtaining a copy
1314
* of this software and associated documentation files (the "Software"), to deal
@@ -31,9 +32,12 @@
3132
* @author EllisLab Dev Team
3233
* @copyright Copyright (c) 2008 - 2014, EllisLab, Inc. (https://ellislab.com/)
3334
* @copyright Copyright (c) 2014 - 2019, British Columbia Institute of Technology (https://bcit.ca/)
35+
* @copyright Copyright (c) 2019 - 2022, CodeIgniter Foundation (https://codeigniter.com/)
36+
* @copyright Copyright (c) 2020 - present, WebbyPHP Framework (https://webbyphp.top)
3437
* @license https://opensource.org/licenses/MIT MIT License
3538
* @link https://codeigniter.com
3639
* @since Version 1.0.0
40+
* @since WebbyPHP Version 3.0.0
3741
* @filesource
3842
*/
3943

CodeIgniter/Framework/core/Hooks.php

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@
77
*
88
* This content is released under the MIT License (MIT)
99
*
10-
* Copyright (c) 2014 - 2019, British Columbia Institute of Technology
10+
* Copyright (c) 2019 - 2022, CodeIgniter Foundation
1111
*
1212
* Permission is hereby granted, free of charge, to any person obtaining a copy
1313
* of this software and associated documentation files (the "Software"), to deal
@@ -31,6 +31,7 @@
3131
* @author EllisLab Dev Team
3232
* @copyright Copyright (c) 2008 - 2014, EllisLab, Inc. (https://ellislab.com/)
3333
* @copyright Copyright (c) 2014 - 2019, British Columbia Institute of Technology (https://bcit.ca/)
34+
* @copyright Copyright (c) 2019 - 2022, CodeIgniter Foundation (https://codeigniter.com/)
3435
* @license https://opensource.org/licenses/MIT MIT License
3536
* @link https://codeigniter.com
3637
* @since Version 1.0.0

CodeIgniter/Framework/core/Input.php

Lines changed: 6 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,8 @@
77
*
88
* This content is released under the MIT License (MIT)
99
*
10-
* Copyright (c) 2014 - 2019, British Columbia Institute of Technology
10+
* Copyright (c) 2019 - 2022, CodeIgniter Foundation
11+
* Copyright (c) 2020 - present, WebbyPHP Framework
1112
*
1213
* Permission is hereby granted, free of charge, to any person obtaining a copy
1314
* of this software and associated documentation files (the "Software"), to deal
@@ -31,12 +32,14 @@
3132
* @author EllisLab Dev Team
3233
* @copyright Copyright (c) 2008 - 2014, EllisLab, Inc. (https://ellislab.com/)
3334
* @copyright Copyright (c) 2014 - 2019, British Columbia Institute of Technology (https://bcit.ca/)
35+
* @copyright Copyright (c) 2019 - 2022, CodeIgniter Foundation (https://codeigniter.com/)
36+
* @copyright Copyright (c) 2020 - present, WebbyPHP Framework (https://webbyphp.top)
3437
* @license https://opensource.org/licenses/MIT MIT License
3538
* @link https://codeigniter.com
3639
* @since Version 1.0.0
40+
* @since WebbyPHP Version 3.0.0
3741
* @filesource
3842
*/
39-
4043
/**
4144
* Input Class
4245
*
@@ -955,7 +958,7 @@ public function ip_address()
955958
}
956959

957960
// Convert to binary and finally compare
958-
if (strncmp($ip, vsprintf($sprintf, $netaddr), $masklen) === 0) {
961+
if (strncmp($ip, vsprintf($sprintf, $netaddr), (int)$masklen) === 0) {
959962
$this->ip_address = $spoof;
960963
break;
961964
}

CodeIgniter/Framework/core/Instance.php

Lines changed: 5 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -1,16 +1,14 @@
11
<?php
22

33
/**
4-
* CodeIgniter Instance
4+
* This file is part of WebbyPHP Framework.
55
*
6-
* A static helper for the CodeIgniter::instance method.
7-
*
8-
* Had to expand on it due to Webby's work around
6+
* (c) Kwame Oteng Appiah-Nti <[email protected]>
97
*
10-
* @package Webby
11-
* @author Rougin Gutib <[email protected]>
12-
* @author Oteng Kwame Appiah-Nti <[email protected]>
8+
* For the full copyright and license information, please view the LICENSE
9+
* file that was distributed with this source code.
1310
*/
11+
1412
class CI_Instance
1513
{
1614
/**

0 commit comments

Comments
 (0)