Example #1
0
 public function __construct()
 {
     $sqlite = Config::indexcache();
     if (!$sqlite) {
         if (file_exists(Config::output_dir() . "index.sqlite")) {
             $sqlite = new \SQLite3(Config::output_dir() . 'index.sqlite');
         }
     }
     if ($sqlite) {
         $this->sqlite = $sqlite;
         $this->sortIDs();
     }
 }