Logon

=Logon=

Logon was forked from the Login app as Login became more tailored to the LoveMachine multi-tenant app environment. Initially saved as a tag, subsequent changes to logon required moving logon to a branch.

Logon installs a stub directory to public_html, the rest remains out of docroot cd ~
 * Installing logon app to a sandbox
 * 1) cd to sandbox home directory

svn checkout http://svn.worklist.net/svn/repos/login/branches/logon
 * 1) checkout logon branch

cd logon/application/config
 * 1) update sandbox configuration

cp config.dist.php config.php
 * 1) clone default config

$dbConfig['dbname'] = 'dev_logon'; $dbConfig['username'] = 'dev_logon'; $dbConfig['password'] = 'unsecure';
 * 1) adjust the following db values to the current values

'endpoint'     => 'https://dev.sendlove.us/~ //api.php', 'key'             => 'unsecure_dev_worklist' 'endpoint'     => 'https://dev.sendlove.us/~ //api.php'', 'key'             => 'unsecure_dev_journal'
 * 1) update api endpoints and keys

cd ~ /public_html ln -s ../logon/htdocs/ logon
 * 1) Link logon stub to public_html

~ /public_html/worklist/server.local.php ~ /public_html/journal/server.local.php Add the following: define('APP_LOGIN','/~ /logon/index.php/');
 * 1) Update SANDBOX applications

~ /public_html/worklist/server.local.php if (!empty($_SERVER['PATH_INFO'])) { header( 'Location: https://dev.sendlove.us/~ / /worklist.php'); }