Open akagane99 opened 9 years ago
とりあえず報告まで。
https://github.com/netcommons/NetCommons2/blob/7c88fc8310d43a1b6101607ddf21352f888063b9/html/maple/filter/Filter_Restfulurl.class.php#L157-L161
if($this->_session->getParameter('_lang') == 'japanese') { $commonMain->redirectHeader('', 3, '存在しないページが指定されました。'); }else if($this->_session->getParameter('_lang') == 'chinese') { $commonMain->redirectHeader('', 3, '页面不存在。'); }else { $commonMain->redirectHeader('', 3, 'This page does not exist.'); }
下記maple.ini、[Restfulurl]の手前[SmartyAssign]で、global.iniを読み込んでるので、 global.iniに書けそう。
https://github.com/netcommons/NetCommons2/blob/7c88fc8310d43a1b6101607ddf21352f888063b9/html/webapp/modules/maple.ini#L38
[SmartyAssign] global = global.ini ;global_config = global-assign.ini [Restfulurl]
とりあえず報告まで。
https://github.com/netcommons/NetCommons2/blob/7c88fc8310d43a1b6101607ddf21352f888063b9/html/maple/filter/Filter_Restfulurl.class.php#L157-L161
下記maple.ini、[Restfulurl]の手前[SmartyAssign]で、global.iniを読み込んでるので、 global.iniに書けそう。
https://github.com/netcommons/NetCommons2/blob/7c88fc8310d43a1b6101607ddf21352f888063b9/html/webapp/modules/maple.ini#L38