mirror of
https://github.com/DirectoryLister/DirectoryLister.git
synced 2025-09-02 10:23:36 +02:00
Make the name of the 'Home' label configurable
This commit is contained in:
@@ -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
|
||||
|
@@ -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(
|
||||
|
Reference in New Issue
Block a user