1
0
mirror of https://github.com/e107inc/e107.git synced 2025-08-12 09:34:54 +02:00

Issue #1356 - PHP7 Fixes.

This commit is contained in:
Cameron
2016-02-14 12:15:55 -08:00
parent 32636ec39d
commit 486f3d4961
54 changed files with 205 additions and 285 deletions

View File

@@ -40,7 +40,7 @@ class core_user_url extends eUrlConfig
* - login/index (or just 'login') -> login.php
* - register/index (or just 'register') -> signup.php
*/
public function create($route, $params = array())
public function create($route, $params = array(), $options = array())
{
if(!$params) return 'user.php';
@@ -115,8 +115,8 @@ class core_user_url extends eUrlConfig
return $admin;
}
public function parse($pathInfo)
public function parse($pathInfo, $params = array(), $request = NULL, $router = NULL, $config = array())
{
// this config doesn't support parsing, it's done by the module entry script (news.php)
// this means News are not available via single entry point if this config is currently active