~pastebin-ng-team/pastebin-ng/head

« back to all changes in this revision

Viewing changes to lib/config/jabber.conf.php

  • Committer: Daniel Bartlett
  • Date: 2007-02-26 21:30:05 UTC
  • Revision ID: dan@f-box.org-20070226213005-bbpid8qno77ht6a6
InitialĀ importĀ v0.61

Show diffs side-by-side

added added

removed removed

Lines of Context:
 
1
<?php
 
2
 
 
3
/**
 
4
 * Decide if we are enabling Jabber notifications (TRUE/FALSE)
 
5
 */
 
6
 
 
7
$CONF['use_jabber'] = FALSE;
 
8
 
 
9
if($CONF['use_jabber'] == TRUE) {
 
10
        require("class_jabber_php/class.jabber.php");
 
11
        $JABBER = new Jabber;
 
12
        $JABBER->server         = "jabber.example-server.org";
 
13
        $JABBER->port           = 5222;
 
14
        $JABBER->username       = "jabberuser";
 
15
        $JABBER->password       = "jabberpass";
 
16
        $JABBER->resource       = "1t2 PasteBin";
 
17
 
 
18
        $JABBER->enable_logging = FALSE;
 
19
        $JABBER->log_filename   = '/var/www/hosts/paste.f-box.org/htdocs/pastebin_jabber_log.txt';
 
20
        $CONF['jabber'] = $JABBER;
 
21
} else {
 
22
        $CONF['jabber'] = NULL;
 
23
}
 
24
 
 
25
?>