Merge pull request #159 from jgranick/patch-2

Make the name of the 'Home' label configurable
This commit is contained in:
Chris Kankiewicz
2017-06-10 18:01:04 -07:00
committed by GitHub
2 changed files with 4 additions and 3 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

@@ -3,12 +3,13 @@
return array(
// Basic settings
'home_label' => 'Home',
'hide_dot_files' => true,
'list_folders_first' => true,
'list_sort_order' => 'natcasesort',
'theme_name' => 'bootstrap',
'external_links_new_window' => true,
'date_format' => 'Y-m-d H:i:s', // See: http://php.net/manual/en/function.date.php
'date_format' => 'Y-m-d H:i:s', // See: http://php.net/manual/en/function.date.php
// Hidden files
'hidden_files' => array(