mirror of
https://github.com/hotspotbilling/phpnuxbill.git
synced 2025-08-04 02:04:53 +02:00
get ready for Pretty URL
This commit is contained in:
parent
d60b1827d9
commit
31dda69d3d
14 changed files with 102 additions and 79 deletions
|
@ -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) {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue