mirror of
https://github.com/kamilwylegala/cakephp2-php8.git
synced 2025-09-03 18:12:40 +00:00
Removing E_STRICT errors from router
This commit is contained in:
parent
afa5ee6885
commit
8c2f9e1d2b
1 changed files with 2 additions and 2 deletions
|
@ -506,7 +506,7 @@ class Router {
|
|||
* @return array Returns an array containing the altered URL and the parsed extension.
|
||||
* @access private
|
||||
*/
|
||||
function __parseExtension($url) {
|
||||
private static function __parseExtension($url) {
|
||||
$ext = null;
|
||||
|
||||
if (self::$_parseExtensions) {
|
||||
|
@ -563,7 +563,7 @@ class Router {
|
|||
* @return void
|
||||
* @access private
|
||||
*/
|
||||
function __connectDefaultRoutes() {
|
||||
private static function __connectDefaultRoutes() {
|
||||
if ($plugins = App::objects('plugin')) {
|
||||
App::import('Core', 'route/PluginShortRoute');
|
||||
foreach ($plugins as $key => $value) {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue