Пример #1
0
 public static function getBaseUrl()
 {
     $httpString = \Supernova\Core::checkSSL() ? "https://" : "http://";
     return $httpString . self::getHost() . self::getRelativePath();
 }
Пример #2
0
<?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();
Пример #3
0
 public static function processFiles()
 {
     $files = \Supernova\Core::getFilesParameters();
     if (!empty($files)) {
         debug($files);
     }
 }