* } * * @author Paul J. Morris */ include_once "{$serverRoot}/classes/OmOccurrences.php"; include_once "{$serverRoot}/classes/OmOccurDeterminations.php"; if (file_exists("{$serverRoot}/classes/Gazeteer.php")) { include_once "{$serverRoot}/classes/Gazeteer.php"; } include_once "{$serverRoot}/classes/iPlantUtility.php"; include_once "{$serverRoot}/classes/ImageShared.php"; define("DEFAULT_NEVP_COUNTRY", "United States of America"); // Check to see if included classes match the current schema version. $uptodate = true; $testOcc = new OmOccurrences(); if (!$testOcc->checkSchema()) { echo "[Warning: classes/OmOccurrences.php does not support the Symbiota schema version.]\n"; $uptodate = false; } $testOccDet = new OmOccurDeterminations(); if (!$testOccDet->checkSchema()) { echo "[Warning: classes/OmOccurDeterminations.php does not support the Symbiota schema version.]\n"; $uptodate = false; } $testImg = new ImageShared(); if (!$testImg->checkSchema()) { echo "[Warning: classes/ImageShared.php does not support the Symbiota schema version.]\n"; $uptodate = false; } if (!$uptodate) { echo "[Warning: Ingest of data may fail. Contact a Symbiota developer.]\n";