#!/usr/bin/env php ERROR!!! ".$arg." error ".mysql_error(); exit(1); } if (count($argv) != 2) die("Parameter error\n"); if (!file_exists($file = $argv[1])) die("File not found\n"); if (!($unserialized = @unserialize(file_get_contents($file)))) die("Error while parsing file\n"); DB::getDB()->STRUCTURE_GENERATE_PARSE($unserialized, []);