uLogin Wiki
Brought to you by:
ultim
Welcome to your wiki!
This is the default page, edit it as you see fit. To add a page simply reference it within brackets, e.g.: [SamplePage].
The wiki uses Markdown syntax.
uLogin Setup with External References
uLogin 0.4 code tree is desgined to be used by a single application. These instructions show how uLogin can be configured to be located in a shared directory referenced by multiple web applications.
Note: Reusing a single code instance of uLogin in multiple web applications is not supported by the author. The steps provided on this page might work, but are not officially supported. However, the author does by default support and even encourage the installation outside of the application's web directory, if used by a single application. In this case, the steps provided here are unnecessary.
Environment Configuration
Ussing the following environment configuration:
Every time you see the variable referenced in this document it should be replaced with content from the table above.
$uLoginLib directory structure is produced by extracting distribution zip file.
You PHP include path must have $webLib directory added to include_path. It can be done in $webApp/.htaccess with:
The idea is to create a softlink to ulogin library in includes directory:
uLogin uses configuraiton files dispersed across its $uLogiLib directory tree. We have to disable these files by renaming them:
We now need to reproduce these files in our web application directory tree:
Update content of config.inc.php files to match your configuration.
You are done.
Last edit: ultim 2012-06-02