IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. */ //#############Start#of#Config#################### /** The root of your owncloud installation. */ $oc_root = '/var/www/wolke.herberth.eu/'; /** Should we log the activity of this script? */ $debugging = true; //#############End#of#config###################### error_reporting(E_ALL); ini_set('error_log', '/var/log/ejabberd/oc.log'); $auth = new JabberAuth(); $auth->play(); // We simply start process ! class JabberAuth { /** This is the jabber user passed to the script. filled by $this->command() */ var $jabber_user; /** This is the jabber user password passed to the script. filled by $this->command() */ var $jabber_pass; /** This is the jabber server passed to the script. filled by $this->command(). Useful for VirtualHosts */ var $jabber_server; /** This is what SM component send to us. */ var $data; /** This is the command sent ... */ var $command; /** stdin file pointer */ var $stdin;