Changes

From Amahi Wiki
Jump to: navigation, search
548 bytes added ,  21:51, 6 January 2012
no edit summary
{{WorkInProgress}}
[[Category:Apps]]
[http://www.amahi.org/apps/encode-explorer Encode Explorer] has been packaged for Amahi and is currently in '''BETA ''' status.
To customize this application, edit ''/var/hda/web-apps/explorer/index.php'' with your favorite editor. The script is well documented and provides guidance for each option that is customizable. We will only highlight the main ones here.
<u>'''Change Language'''</u><br />The default language is English. To set a different one, change line 66 from '''en''' to one from the table below:
{{Text|Text=$_CONFIG['lang'] = "en";}}
 {| style="background:#cccc99;color:black;width:80%;" border="1"cellpadding="5" cellspacing="0"| '''Code'''| '''Description'''
|-
| al
| Turkish
|}
 
 
<u>'''Require Login'''</u><br />
The default is false. To require login before displaying files, change line 226 from '''false''' to '''true''':
{{Text|Text=$_CONFIG['require_login'] = false;}}
 
 
<u>'''Configure Users'''</u><br />
To add or change users, add to line 244 using the format below:
{{Text|Text=$_CONFIG['users'] = array(array("username1", "password1", "user"), array("username2", "password2", "admin"));}}
12,424

edits