|
|
@@ -702,10 +702,8 @@ function DedeSearchAPIURL($action, $parms=array()) |
|
|
|
//拼接完整URL |
|
|
|
$finalQueryString = http_build_query($parms); |
|
|
|
$finalUrl = $baseUrl . '?' . $finalQueryString; |
|
|
|
|
|
|
|
return $finalUrl; |
|
|
|
} |
|
|
|
|
|
|
|
function ConvertMysqlToSqlite($mysqlQuery) { |
|
|
|
//移除CHARACTER SET和COLLATE |
|
|
|
$query = preg_replace('/character set \S+/i', '', $mysqlQuery); |
|
|
@@ -787,7 +785,6 @@ function ConvertMysqlToSqlite($mysqlQuery) { |
|
|
|
$query = str_ireplace('rand', 'RANDOM', $query); |
|
|
|
return trim($query); |
|
|
|
} |
|
|
|
|
|
|
|
function ThemeInclude($path) |
|
|
|
{ |
|
|
|
global $cfg_basedir, $cfg_templets_dir, $cfg_df_style; |
|
|
|