예제 #1
0
파일: Cloud.php 프로젝트: kingsj/core
 static function update()
 {
     if (file_exists('data.txt')) {
         self::$instance = unserialize(file_get_contents("data.txt"));
     } else {
         self::$instance = new Cloud();
     }
     return self::$instance;
 }