일부 코드 수정

- index.php에서 javascript string 이어붙이기 문제
- RestAPIHelper 클래스
- 세부 서버 Autoload 수정
This commit is contained in:
2018-03-25 00:45:23 +09:00
parent 3fbf1d4b0c
commit c3cb100947
4 changed files with 21 additions and 6 deletions
+2 -2
View File
@@ -67,7 +67,7 @@ class Session {
return $this;
}
public function __set(string $name, mixed $value){
public function __set(string $name, $value){
if(key_exists($key, self::PROTECED_NAMES)){
trigger_error("{$name}은 외부에서 쓰기 금지된 Session 변수입니다.", E_USER_NOTICE);
return;
@@ -76,7 +76,7 @@ class Session {
$this->set($name, $value);
}
private function set(string $name, mixed $value){
private function set(string $name, $value){
if($value === null){
unset($_SESSION[$name]);
}