Add all code files from IDE

This commit is contained in:
Miguel Nogueira
2018-06-07 10:56:13 +00:00
commit 06fc7e5360
28 changed files with 4956 additions and 0 deletions

View File

@@ -0,0 +1,25 @@
<?php
class Config
{
public $config;
// Load configuration and upload it to the main class elements
public function __construct()
{
$ROOT = $_SERVER['DOCUMENT_ROOT'];
$config = $ROOT . "/source/config.php";
$c = include($config);
$this->config = $c;
}
public function getConfig()
{
return $this->config;
}
}