} if ($this->mobile == false && $this->getConfig("show_load_time") == true) { printf($this->getString("page_load_time") . " | ", (microtime(TRUE) - $_START_TIME) * 1000); } ?> <a href="http://encode-explorer.siineiolekala.net">Encode Explorer</a> </div> <!-- END: Info area --> </body> </html> <?php } } // // This is where the system is activated. // We check if the user wants an image and show it. If not, we show the explorer. // $encodeExplorer = new EncodeExplorer(); $encodeExplorer->init(); GateKeeper::init(); if (!ImageServer::showImage() && !Logger::logQuery()) { $location = new Location(); $location->init(); if (GateKeeper::isAccessAllowed()) { Logger::logAccess($location->getDir(true, false, false, 0), true); $fileManager = new FileManager(); $fileManager->run($location); } $encodeExplorer->run($location); }
<?php require_once 'vfm-admin/config.php'; require_once 'vfm-admin/class.php'; $imageServer = new ImageServer(); $imageServer->showImage();