Files
dlist/config.php
jim 57bd80f588 - renamed view.php to index.php
- renamed exec files from *.exc.php to *.exec.php
- updated simple template
- added local language names caching to cache/local_names.ini, language must be used before it can read the local name from the language file and cache it if not already cached

git-svn-id: file:///Users/jimeh/Desktop/dlist/trunk@15 a5845835-ea0f-0410-a762-dd0bfe9bfde8
2006-04-06 13:08:38 +00:00

68 lines
1.4 KiB
PHP

<?php
/*
dList's main configuration file.
*/
$config = array(
// Main settings
# leave blank to autodetect from $_SERVER['SCRIPT_NAME']
'dlist_url' => '',
# show debug messages, for exechandler to always re-parse all files
'debug' => true,
# by default dList will sort by this
'default_sort' => 'name',
// File system settings
# show hidden files & folders who's names begin with . (dot)
'show_hidden' => false,
# what info to show for each file/folder, valid values are:
# name, size, mtime, perms, chmod, owner, ownerid, group, groupid, ext
# (must contain "name", for basic directory listing functionality)
'fields' => 'name,size,mtime,perms,owner',
// Display settings
# if the corresponding language file can't be found
# dList will default to english.
'language' => 'english',
# name of the cookie dList will check for language settings per user
'lang_cookie' => 'dList_language',
# Smart Date shows relative time stamps ("Yesterday, 09:34") when applicable
'smartdate' => true,
// Template & Icon settings
'template' => 'simple',
'iconset' => 'osx',
'allow_override' => true,
// dList internal settings - don't change if you don't know what you're doing
'default_lang' => 'english',
'default_locale' => array('eng', 'en_US'),
'path_plugins' => array('plugins'),
'path_cache' => 'cache',
'req_lang_ver' => '1.0.2',
);
?>