파일 위치를 twe에서 hwe로 옮김.

This commit is contained in:
2018-04-01 01:23:44 +09:00
parent 1ddd26c8a1
commit 25ec9a2579
201 changed files with 0 additions and 0 deletions
+23
View File
@@ -0,0 +1,23 @@
<?php
namespace sammo;
require(__DIR__.'/../f_func/config.php');
$session = Session::requireLogin(null);
if($session->userGrade < 5){
Json::die([
'result'=>false,
'reason'=>'충분한 권한을 가지고 있지 않습니다.'
]);
}
if($scenarioIdx === null){
Json::die([
'result'=>false,
'reason'=>'올바르지 않은 scenarioIdx'
]);
}