#58480: Left over conf_init()

4.7.x
Steven Wittens 2006-04-12 20:58:09 +00:00
parent ff35fc9c53
commit 8ebf819ac2
1 changed files with 1 additions and 1 deletions

View File

@ -195,7 +195,7 @@ function drupal_get_filename($type, $name, $filename = NULL) {
$files[$type][$name] = $file;
}
else {
$config = conf_init();
$config = conf_path();
$dir = (($type == 'theme_engine') ? 'themes/engines' : "${type}s");
$file = (($type == 'theme_engine') ? "$name.engine" : "$name.$type");