* Fix api helper bug.

This commit is contained in:
songchenxuan
2022-03-31 16:30:00 +08:00
parent 4e2f0a3d86
commit 3ede5cca11
2 changed files with 3 additions and 3 deletions
+2 -2
View File
@@ -162,7 +162,7 @@ class helper extends baseHelper
/* The requestTypes are: GET, PATH_INFO2, PATH_INFO */
if($config->requestType == 'GET')
{
$link = '/index' . substr($link, $pos);
$link = $config->webRoot . 'index' . substr($link, $pos);
}
elseif($config->requestType == 'PATH_INFO2')
{
@@ -204,7 +204,7 @@ function formatTime($time, $format = '')
/**
* Fix for session error.
*
* @param int $class
* @param int $class
* @access protected
* @return void
*/