Make the name of the 'Home' label configurable

This commit is contained in:
Joshua Granick
2017-06-08 09:21:02 -07:00
parent d341687193
commit e48b1dc107
2 changed files with 3 additions and 2 deletions

View File

@@ -98,7 +98,7 @@ class DirectoryLister {
$filename_no_ext = basename($directory);
if ($directory == '.') {
$filename_no_ext = 'Home';
$filename_no_ext = $this->_config['home_label'];
}
// We deliver a zip file
@@ -194,7 +194,7 @@ class DirectoryLister {
// Statically set the Home breadcrumb
$breadcrumbsArray[] = array(
'link' => $this->_appURL,
'text' => 'Home'
'text' => $this->_config['home_label']
);
// Generate breadcrumbs

View File

@@ -8,6 +8,7 @@ return array(
'list_sort_order' => 'natcasesort',
'theme_name' => 'bootstrap',
'external_links_new_window' => true,
'home_label' => 'Home',
// Hidden files
'hidden_files' => array(