Fix requirement order.
This commit is contained in:
parent
28fc75dd25
commit
ad68f515e0
7 changed files with 45 additions and 6 deletions
3
dj.php
3
dj.php
|
@ -1,10 +1,11 @@
|
|||
<?php
|
||||
|
||||
// read toml config file
|
||||
require_once 'vendor/autoload.php';
|
||||
|
||||
use Yosymfony\Toml\Toml;
|
||||
|
||||
$config = Toml::ParseFile('includes/config.toml');
|
||||
require_once 'vendor/autoload.php';
|
||||
require_once 'functions/i18n.php';
|
||||
require_once 'includes/sessions.php';
|
||||
require_once 'includes/lang_loader.php';
|
||||
|
|
|
@ -1,10 +1,11 @@
|
|||
<?php
|
||||
|
||||
// read toml config file
|
||||
require_once 'vendor/autoload.php';
|
||||
|
||||
use Yosymfony\Toml\Toml;
|
||||
|
||||
$config = Toml::ParseFile('includes/config.toml');
|
||||
require_once 'vendor/autoload.php';
|
||||
require_once 'functions/i18n.php';
|
||||
require_once 'includes/sessions.php';
|
||||
require_once 'includes/lang_loader.php';
|
||||
|
|
|
@ -1,10 +1,11 @@
|
|||
<?php
|
||||
|
||||
// read toml config file
|
||||
require_once 'vendor/autoload.php';
|
||||
|
||||
use Yosymfony\Toml\Toml;
|
||||
|
||||
$config = Toml::ParseFile('includes/config.toml');
|
||||
require_once 'vendor/autoload.php';
|
||||
require_once 'functions/i18n.php';
|
||||
require_once 'includes/sessions.php';
|
||||
require_once 'includes/lang_loader.php';
|
||||
|
|
|
@ -28,3 +28,37 @@ baidu = false
|
|||
|
||||
[seo.crawlers]
|
||||
yandex_id = "a1b2c3d4f5g6h7"
|
||||
|
||||
[locales]
|
||||
|
||||
af_ZA = "Afrikaans (South Africa)"
|
||||
ar_SA = "Arabic (Saudi Arabia)"
|
||||
ca_ES = "Catalan (Spain)"
|
||||
zh_CN = "Chinese (Simplified)"
|
||||
zh_TW = "Chinese (Traditional)"
|
||||
cs_CZ = "Czech (Czech Republic)"
|
||||
da_DK = "Danish (Denmark)"
|
||||
nl_NL = "Dutch (Netherlands)"
|
||||
de_DE = "German (Germany)"
|
||||
el_GR = "Greek (Greece)"
|
||||
en_US = "English (US)"
|
||||
fi_FI = "Finnish (Finland)"
|
||||
fil_PH = "Filipino (Philippines)"
|
||||
fr_FR = "French (France)"
|
||||
he_IL = "Hebrew (Israel)"
|
||||
hu_HU = "Hungarian (Hungary)"
|
||||
it_IT = "Italian (Italy)"
|
||||
ja_JP = "Japanese (Japan)"
|
||||
ko_KR = "Korean (South Korea)"
|
||||
no_NO = "Norwegian (Norway)"
|
||||
pl_PL = "Polish (Poland)"
|
||||
pt_BR = "Portuguese (Brazil)"
|
||||
pt_PT = "Portuguese (Portugal)"
|
||||
ro_RO = "Romanian (Romania)"
|
||||
ru_RU = "Russian (Russia)"
|
||||
sr_SP = "Serbian (Serbia)"
|
||||
es_ES = "Spanish (Spain)"
|
||||
sv_SE = "Swedish (Sweden)"
|
||||
tr_TR = "Turkish (Turkey)"
|
||||
uk_UA = "Ukrainian (Ukraine)"
|
||||
vi_VN = "Vietnamese (Vietnam)"
|
||||
|
|
|
@ -1,10 +1,11 @@
|
|||
<?php
|
||||
|
||||
// read toml config file
|
||||
require_once 'vendor/autoload.php';
|
||||
|
||||
use Yosymfony\Toml\Toml;
|
||||
|
||||
$config = Toml::ParseFile('includes/config.toml');
|
||||
require_once 'vendor/autoload.php';
|
||||
require_once 'functions/i18n.php';
|
||||
require_once 'includes/sessions.php';
|
||||
require_once 'includes/lang_loader.php';
|
||||
|
|
3
mix.php
3
mix.php
|
@ -1,10 +1,11 @@
|
|||
<?php
|
||||
|
||||
// read toml config file
|
||||
require_once 'vendor/autoload.php';
|
||||
|
||||
use Yosymfony\Toml\Toml;
|
||||
|
||||
$config = Toml::ParseFile('includes/config.toml');
|
||||
require_once 'vendor/autoload.php';
|
||||
require_once 'functions/i18n.php';
|
||||
require_once 'includes/sessions.php';
|
||||
require_once 'includes/lang_loader.php';
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue