First commit
This commit is contained in:
commit
d5bb2f19fa
117 changed files with 68604 additions and 0 deletions
14
index.php
Normal file
14
index.php
Normal file
|
@ -0,0 +1,14 @@
|
|||
<?php
|
||||
|
||||
// read toml config file
|
||||
|
||||
require 'vendor/autoload.php';
|
||||
require 'functions/i18n.php';
|
||||
use Yosymfony\Toml\Toml;
|
||||
|
||||
$config = Toml::ParseFile('includes/config.toml');
|
||||
// $config['app']['name']
|
||||
|
||||
// load locale
|
||||
$locale = loadLocale($config['app']['locale']);
|
||||
// $locale['string']
|
Loading…
Add table
Add a link
Reference in a new issue