forked from kevinowino869/mitrobill
get ready for Pretty URL
This commit is contained in:
@ -113,7 +113,7 @@ class Text
|
||||
public static function url(...$data){
|
||||
global $config;
|
||||
$url = implode("", $data);
|
||||
if ($config['url_canonical'] != 'Yes') {
|
||||
if ($config['url_canonical'] == 'yes') {
|
||||
$u = str_replace('?_route=', '', U);
|
||||
$pos = strpos($url, '&');
|
||||
if ($pos === false) {
|
||||
|
Reference in New Issue
Block a user