Commit b07f3aa2 authored by Fabian 'xx4h' Melters's avatar Fabian 'xx4h' Melters

Minor refactor because of php include/require

behaviour
parent 01a6b1b0
<?php
// Load config
$ini_array = parse_ini_file("config.ini");
$debug = $ini_array['debug'];
// Add helpers
function msg($msg) {
$ini_array = parse_ini_file("config.ini");
$debug = $ini_array['debug'];
if ($debug) { error_log($msg); }
}
// Load config
$ini_array = parse_ini_file("config.ini");
$username = $ini_array['username'];
$password = $ini_array['password'];
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment