mirror of
https://github.com/Mowie/Mowie
synced 2024-06-18 16:34:08 +00:00
16 lines
436 B
PHP
16 lines
436 B
PHP
<?php
|
|
$confirmationRequierd = false;
|
|
$iniFile = 'confirm.ini';
|
|
if(strpos($_SERVER['SCRIPT_FILENAME'], '/apps/') === false)
|
|
{
|
|
$iniFile = '../SimplePages/backend/confirm.ini';
|
|
}
|
|
|
|
if(file_exists($iniFile))
|
|
{
|
|
$config = parse_ini_file($iniFile);
|
|
//print_r($config);exit;
|
|
$confirmationRequierd = $config['confirmationRequierd'];
|
|
$confirmationUserMail = $config['confirmationUserMail'];
|
|
$confirmationUser = $config['confirmationUser'];
|
|
} |