Function: WebService Config
zx_config.php
This file should be moved outside web-directory, and include in the index.php changed to reflect it's new location. Edit your user settings in this file ( user name, password, document store paths ). This has config for two users, but more can easily be added.
<?php
define("STARTPATH", "/absolute path to global start directory/");
define("FILPATH_ENCODING", 'UTF-8'); // For the filesystems encoding.
$core_config = array();
$core_config['AUTH'][1]['USER'] = "user1";
$core_config['AUTH'][1]['PASS'] = "user1Password";
$core_config['AUTH'][1]['ACCESS'] = "R"; // Only read access
$core_config['AUTH'][1]['PATH'] = "/absolute path to users start directory/";
$core_config['AUTH'][2]['USER'] = "user2";
$core_config['AUTH'][2]['PASS'] = "user2Password";
$core_config['AUTH'][2]['ACCESS'] = "W"; // Both read and write access
$core_config['AUTH'][2]['PATH'] = "/absolute path to users start directory/";
$core_config['SECURITY']['REQUIRESSL'] = true;
?>