8
0
Fork 0

Fixed the ability to change the Docs Path.

Dieser Commit ist enthalten in:
Ned Fenstermacher 2013-12-25 01:20:40 -05:00
Ursprung 1261c88d1c
Commit c793651446
1 geänderte Dateien mit 2 neuen und 2 gelöschten Zeilen

Datei anzeigen

@ -81,10 +81,10 @@ $url_params = url_params();
if (count($options['languages']) > 0 && count($url_params) > 0 && strlen($url_params[0]) > 0) {
$language = array_shift($url_params);
$base_path = "docs/" . $language;
$base_path = $options['docs_path'] . $language;
} else {
$language = null;
$base_path = "docs";
$base_path = $options['docs_path'];
}
$tree = get_tree($base_path, $base_url, '', true, $language);