get ready for Pretty URL

This commit is contained in:
iBNu Maksum
2025-01-31 16:54:22 +07:00
parent d60b1827d9
commit 31dda69d3d
14 changed files with 102 additions and 79 deletions

View File

@ -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) {