Cloud computing platform
Révision | 345e80fb6d9f9233cfcb547f9f1c3f6a4c5f819f (tree) |
---|---|
l'heure | 2017-04-24 07:46:55 |
Auteur | naoki hirata <naoki@magi...> |
Commiter | naoki hirata |
Wikiメインウィジェット更新。
@@ -147,6 +147,12 @@ class wiki_mainWidgetContainer extends BaseWidgetContainer | ||
147 | 147 | // ##### ページID設定後、各種パラメータの初期化 ##### |
148 | 148 | require_once($wikiLibDir . '/init.php'); |
149 | 149 | |
150 | + // ###################################################################### | |
151 | + // パラメータ初期化後に入力チェックを行う(2017/4/24) | |
152 | + // エラー値を画面に表示させた後、エラー画面へ遷移 | |
153 | + // ###################################################################### | |
154 | + if (!WikiParam::checkParam()) $gPageManager->redirect('?' . M3_REQUEST_PARAM_PAGE_SUB_ID . '=_accessdeny'); | |
155 | + | |
150 | 156 | // Load optional libraries |
151 | 157 | if ($notify) { |
152 | 158 | require_once($wikiLibDir . '/mail.php'); // Mail notification |
@@ -287,17 +287,4 @@ $line_rules = array_merge(array( | ||
287 | 287 | '&(#[0-9]+|#x[0-9a-f]+|' . $entity_pattern . ');' => '&$1;', |
288 | 288 | "\r" => '<br />' . "\n", /* 行末にチルダは改行 */ |
289 | 289 | ), $line_rules); |
290 | - | |
291 | -// ###################################################################### | |
292 | -// パラメータ初期化後に入力チェックを行う(2017/4/24) | |
293 | -// ここではdieしない | |
294 | -// ###################################################################### | |
295 | -if (!WikiParam::checkParam()){ | |
296 | - global $gPageManager; | |
297 | - | |
298 | - //die('Using both cmd= and plugin= is not allowed'); | |
299 | - | |
300 | - // パラメータエラーの場合はエラー画面へ遷移 | |
301 | - $gPageManager->redirect('?' . M3_REQUEST_PARAM_PAGE_SUB_ID . '=_accessdeny'); | |
302 | -} | |
303 | 290 | ?> |