ecoder installation guide

to install ecoder on a server ( local or remote ), you normally only need to change code in the file code.php ( found in the root folder ).

basics: ------------------------------------------------------------------------

$code['root'] - the full path to an editable ( readable & writeable ) folder, which can contain unlimited sub-folders.

$code['domain_cookie'] - if using a sub domain or root domain you should use only the domain part - ( for example .domain.com ) - note the dot before the domain name.

security: ------------------------------------------------------------------------

play it safe! - ecoder edits files directly on the server - while it can be configured to create backups of files that are changed, it can and does edit files that might be being served as part of a live website of application - you've been warned!

Here are some basic security tips, which if used in combination with the security features built into ecoder, should close most of the security vunerabilities.


advanced settings: --------------------------------------------------------------

$code['name'] - call it what you want, but you'll need to change more than this to really rename it ( branding images, code functions... )

$code['editor'] - basic ( quicker loading, but less features ). delux ( syntax highlighting and other plugins ). this option set's the default, but each file open can use a different setting ( set in the top right hand corner ).

$code['autosave'] - 1 or 0 - enable autosave by default on all documents opened.

$code['autosave_time'] - time in seconds betweeen AJAX saves.

$code['skin'] - name of css style sheet to use, as present there is only one ( called one! ).

$code['backup'] - 1 or 0. create a backup ( set as a hidden file, but could be changed to other prefered method ) of all files opened.

$code['secure'] - 1 or 0. if true checks for valid session, based on the value of $code['secure_variable'].

$code['secure_variable'] - the name of the session variable to check against, see above.

$code['secure_url'] - the url to redirect to if secure is true and the secure_variable is false.

$code['secure_root'] - if true, $code['root'] value passed in session variable - $_SESSION['tree_root'].

there are a number of other settings which control files types to display or block, but these are pretty self-explanatory.

notes: --------------------------------------------------------------