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