69c4a6d3b1
Include and Exclude list updated to use the calculated path to their respective x_species_list.txt files Move play.php over to also use the new calculated paths to disk_check_exclude Spectrogram.php remove unused code & replace setting save code with new function Stats.php removed old code, update paths to use calculated path. Rename setSetting func to saveSetting Remove old code from other pages
16 lines
319 B
PHP
16 lines
319 B
PHP
<?php
|
|
if(file_exists('./scripts/common.php')){
|
|
include_once "./scripts/common.php";
|
|
}else{
|
|
include_once "./common.php";
|
|
}
|
|
$template = file_get_contents(getFilePath('email_template2'));
|
|
|
|
foreach($config as $key => $value)
|
|
{
|
|
$template = str_replace('{{ '.$key.' }}', $value, $template);
|
|
}
|
|
echo $template;
|
|
?>
|
|
|