don't break when base_href=''
This commit is contained in:
parent
9e1c144f57
commit
0b83a9d786
@ -79,7 +79,7 @@ function make_link($page=null, $query=null) {
|
|||||||
}
|
}
|
||||||
|
|
||||||
if(is_null($query)) {
|
if(is_null($query)) {
|
||||||
return "$base/$page";
|
return str_replace("//", "/", "$base/$page");
|
||||||
}
|
}
|
||||||
else {
|
else {
|
||||||
if(strpos($base, "?")) {
|
if(strpos($base, "?")) {
|
||||||
|
Loading…
x
Reference in New Issue
Block a user