public static function getBaseUrl() { $httpString = \Supernova\Core::checkSSL() ? "https://" : "http://"; return $httpString . self::getHost() . self::getRelativePath(); }
<?php include ROOT . DS . "Supernova" . DS . "config.php"; include ROOT . DS . "Supernova" . DS . "globalMethods.php"; \Supernova\Core::moduleCheck(); \Supernova\Core::initialize(); \Supernova\Core::setRequest(); \Supernova\Core::setElements(); \Supernova\Core::checkController(); \Supernova\Core::processForm(); \Supernova\Core::checkAction();
public static function processFiles() { $files = \Supernova\Core::getFilesParameters(); if (!empty($files)) { debug($files); } }