NOISSUE PHP 5.4 이상 호환성 개선.

This commit is contained in:
bnu 2013-11-30 17:35:22 +09:00
parent 742af78932
commit 41ff8ace3b
32 changed files with 365 additions and 113 deletions

View file

@ -37,6 +37,7 @@ class page extends ModuleObject
*/
function moduleUpdate()
{
$args = new stdClass;
// opage module instance update
$output = executeQueryArray('page.pageTypeOpageCheck');
if($output->toBool() && count($output->data) > 0)

View file

@ -146,7 +146,9 @@ class pageView extends page
$oPageController = &getController('page');
// change url of image, css, javascript and so on if the page is from external server
$content = $oPageController->replaceSrc($content, $path);
// Change the document to utf-8 format
$buff = new stdClass;
$buff->content = $content;
$buff = Context::convertEncoding($buff);
$content = $buff->content;