[ PHPXref.com ] [ Generated: Sun Jul 20 19:19:23 2008 ] [ PBS Helpdesk 0.93 ]
[ Index ]     [ Variables ]     [ Functions ]     [ Classes ]     [ Constants ]     [ Statistics ]

title

Body

[close]

/ -> environment.php3 (source)

   1  <?php ;
   2  /* PBS environment - START ***********************************/
   3  /*************************************************************/
   4  
   5  //$pbslang="german";
   6  $pbslang="english";
   7  //$pbslang="french";
   8  
   9  $language="languages/$pbslang";
  10  
  11  $pbs_name = "PBS";
  12  $pbs_version = "0.93";
  13  $pbs_domaen = "@TortiSoft.de";
  14  /* the email address of the local administrator */
  15  $pbs_admin = "faehrmann@TortiSoft.de";
  16  $pbs_adm= "faehrmann";
  17  $pbs_title="TortiSoft Benutzer Support";
  18  /* mail to administrator if number of action is request (look in calltype)*/
  19  $pbs_mail=2;
  20  /* the name of the local adminsitrator */
  21  $pbs_admin_name = "Torsten Fährmann";
  22  
  23  $pbs_saptrans = "sapktw@TortiSoft.de";
  24  
  25  /* if you don't use SingleSignOn set this to 1 
  26  (if you set $nosson to 0 SingleSignOn is used)
  27  */
  28  $nosson=1;
  29  
  30  /* if you use LDAP authentitication set this to 1
  31  **************************************************************/
  32  $pbs_ldaplogin=0;
  33  $pbs_ldapip="192.168.0.203";
  34  //$pbs_ldapip="172.16.2.5";
  35  // take care of seurity - I use port 389 because I use "stunnel"
  36  // port 636 is the common secure ldaps port
  37  $pbs_ldapport="389";
  38  $pbs_ldapcontext="ou=USER,o=TORTI"; // Novell LDAP (NDS)
  39  // example for win2k - cn=users,dc=TortiSoft,dc=de
  40  
  41  
  42  /* if you don't use SSL during LOGON set this to 0 else 1*/
  43  $pbs_ssl=0;
  44  
  45  
  46  /* if you need high security for accounting set this to 1 else 0*/
  47  $pbs_secacc=1;
  48  
  49  /* the number of minutes it takes for a given mot session to timeout.
  50     set to 0 to have no timeout */
  51  $pbs_timeout = 10800;
  52  $maxrows=100;
  53  $maxchars=100;
  54  
  55  /* MAX_FILE_SIZE for fileupload */
  56  $max_file_size=2000000;
  57  
  58  /* the number of seconds it takes for a refresh of the calllist */
  59  $pbs_refresh = 1200;
  60  
  61  /* Remote controll with VNC - if $pbs_vnc=1 use VNC else don't use */
  62  $pbs_vnc=1;
  63  /* Remote controll with VNC - if $pbs_vncip=1 have a look at table ippc, else
  64  take location from table people */
  65  $pbs_vncip=0;
  66  $pbs_vncport=5800;
  67  
  68  /* If you like external mailclient (Outlook, Kmail ..) set this to 0 else 1 */
  69  $pbs_internmail=1;
  70  
  71  
  72  $pwd = getenv("REQUEST_URI");
  73  if(!$pwd) $pwd =$_SERVER['REQUEST_URI'];
  74  
  75  $pbs_dir = substr($pwd, 0,strrpos( $pwd, "/" ));
  76  
  77  
  78  /* the web address of the pbs system */
  79  //$pbs_address = "http://172.16.2.5".$pbs_dir;
  80   $pbs_address = "http://192.168.0.203".$pbs_dir;
  81  //$pbs_ssl_address = "https://172.16.2.5".$pbs_dir;
  82   $pbs_ssl_address = "https://192.168.0.203".$pbs_dir;
  83  
  84  /* $pbs_background=$pbs_dir."/icons/paper01.jpg"; */
  85  /* $pbs_background1=$pbs_dir."/icons/foggy2.jpg"; */
  86  $pbs_background=$pbs_dir."/icons/temple.gif";
  87  $pbs_background1=$pbs_dir."/icons/paper01.jpg";
  88  $pbs_alertbackground=$pbs_dir."/icons/foggy2.jpg";
  89  $pbs_logo=$pbs_dir."/icons/tf.gif";
  90  /* $pbs_logo1=$pbs_dir."/icons/tf.gif"; */
  91  $pbs_logo1=$pbs_dir."/icons/tf.gif";
  92  $pbs_icons=$pbs_dir."/icons";
  93  $pbs_uploaddir="/home/pbs";
  94  
  95  
  96  /* values for pbsdaemon (handling og incomming mail) *****************************************************/
  97  $pbsd_basedir='/home/torsten/pbsdev/';
  98  
  99  $mfilename="/var/mail/support"; // mailfile !!!
 100  
 101  $mailend="$pbsd_basedir/mailend.txt"; // mark end of mail !!!
 102  $ftmp1="$pbsd_basedir/tmp/tmpatt.tmp";
 103  $ftmp="$pbsd_basedir/tmp/tmpmail.txt";
 104  $xdescription="";
 105  $myflag=0;
 106  $xfilename="";
 107  $filenameflag="";
 108  $xattchment="";
 109  $mtype="";
 110  $xattchflag="";
 111  $attachcount=0;
 112  $filenameflag1="";
 113  $mstore=0;
 114  $enctype="";
 115  $aendflag="";
 116  $myaa=0;
 117  $mycomp="Antwort";
 118  
 119  $header="From: support@TortiSoft.de\n"
 120       ."Reply-To: support@TortiSoft.de\n"
 121       ."Content-type: text/plain; charset=iso-8859-1";
 122  
 123   $mabout="Ihre Mail"; ## your subject !!!
 124  
 125      
 126  //------------------------------------------------------------------------------------------------------------------------------------
 127  
 128  
 129  
 130  /* workflow setting **********************************************/
 131  $pbs_eskdiff='HOUR'; // SECOND | MINUTE | HOUR | DAY | MONTH |YEAR
 132  // $pbs_eskdiff='DAY';
 133  
 134  
 135  /* db info *****************************************************/
 136  $db_name      = "pbs";
 137  $db_host_name = "localhost";
 138  $db_user_name = "torsten";
 139  $db_pass      = "torstenpbs";
 140  
 141  /* PBS environment - END ***********************************/
 142  /***********************************************************/


[ Powered by PHPXref - Served by Debian GNU/Linux ]