summaryrefslogtreecommitdiff
path: root/main.php
AgeCommit message (Collapse)Author
2016-09-25Fix #16 Accept command-line arguments.Christoph Burschka
If main.php is called with commandline arguments, these will be passed to the bridge as a single request, instead of running the bridge as a daemon. The arguments are, in order: <command> <username> <server> <password> The result will be printed to stdout (1 for success, 0 for failure), and will be set as the exit status (0 for success, 1 for failure).
2014-01-17Okay, the last patch was actually rubbish.Christoph Burschka
It turns out that you can't hope to bootstrap more than one PHP-based software without messing stuff up, particularly because they rely on global variables without exception. If it is risky and unpredictable for different systems, it is completely impossible with multiple instances of the same. Therefore, the ability to use multiple plugins (and the accompanying config.php structure) has been removed. The only plugin that can be used in conjunction with another is session.
2014-01-16Big multiple-plugins patch (fixes #2).Christoph Burschka
2014-01-16Use STDERR in main.phpChristoph Burschka
2012-11-01Huge overhaul to deal with the global variables more cleanly. Avoid globals ↵Christoph Burschka
wherever possible, to avoid collisions with CMS systems.
2012-10-30Refactor to a general, flexible and extensible architecture.Christoph Burschka
2012-10-30Initial checkinChristoph Burschka