Encode Explorer

From Amahi Wiki
Jump to: navigation, search
Msgbox-WOPr.png Work In Progress
This article is currently undergoing major expansion or restructuring. You are welcome to assist by editing it as well. If this article has not been edited in several days, please remove this template.

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.

Change Language
The default is English. To set a different one, change line 66 from en to one from the table below:

Text
​$_CONFIG['lang'] = "en";​


Code Description
al Albanian
nl Dutch
et Estonian
fi Finnish
fr French
de German
el Greek
hu Hungarian
it Italian
no Norwegian
pl Polish
pt_BR Portuguese (Brazil)
ro Romanian
ru Russian
sk Slovensky
es Spanish
sv Swedish
tr Turkish


Require Login
The default is false. To require login before displaying files, change line 226 from false to true:

Text
​$_CONFIG['require_login'] = false;​


Configure Users
To add or change users, add to line 244 using the format below:

Text
​$_CONFIG['users'] = array(array("username1", "password1", "user"), array("username2", "password2", "admin"));​