Skip to content

Commit

Permalink
Merge branch 'Griesbacher:master' into master
Browse files Browse the repository at this point in the history
  • Loading branch information
sni authored Dec 19, 2024
2 parents 2b37343 + 4c9b5fb commit d16ae90
Showing 1 changed file with 7 additions and 1 deletion.
8 changes: 7 additions & 1 deletion index.php
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,13 @@ function ($errno, $errstr, $errfile, $errline, $errcontext = null) {
);

//Set path to config file and parse it
\histou\Basic::parsIni($_SERVER['OMD_ROOT'].'/etc/histou/histou.ini');
if(isset($_SERVER['OMD_ROOT'])){
$ini_path = $_SERVER['OMD_ROOT'].'/etc/histou/histou.ini';
}
else{
$ini_path = 'histou.ini';
}
\histou\Basic::parsIni($ini_path);

//Parse commandline and get parameter
\histou\Basic::parsArgs();
Expand Down

0 comments on commit d16ae90

Please sign in to comment.