diff --git a/env.inc.php b/env.inc.php index 303a8f2..5b04592 100644 --- a/env.inc.php +++ b/env.inc.php @@ -85,7 +85,7 @@ function get_env_file() if($env) $env_filename = "$GAME_ROOT/env/$env.props.php"; else - $env_filename = "$GAME_ROOT/" . get_root_env_props_name(); + $env_filename = "$GAME_ROOT/" . get_root_env_name(); if(file_exists($env_filename)) return $env_filename;