getting ready for customizeable dashboard with widget

This commit is contained in:
iBNu Maksum
2025-02-14 17:08:05 +07:00
parent 30bdb89d91
commit eff0c7dab7
27 changed files with 1112 additions and 2 deletions

View File

@ -132,6 +132,14 @@ class Text
}
}
public static function fixUrl($url){
//if url dont have ? then add it with replace first & to ?
if(strpos($url, '?') === false && strpos($url, '&')!== false){
return substr($url, 0, strpos($url, '&')). '?'. substr($url, strpos($url, '&')+1);
}
return $url;
}
// this will return & or ?
public static function isQA(){
global $config;