Ignore:
Timestamp:
01/06/06 15:33:08 (18 years ago)
Author:
bastiaans
Message:

job_monarch/conf.php:

  • added option JOB_ARCHIVE_DBASE

job_monarch/libtoga.php:

  • added usage of option JOB_ARCHIVE_DBASE
File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/web/addons/job_monarch/libtoga.php

    r206 r207  
    5757global $RRDTOOL;
    5858global $JOB_ARCHIVE_DIR;
     59global $JOB_ARCHIVE_DBASE;
    5960
    6061$my_dir = getcwd();
     
    9596
    9697        function TarchDbase( $ip = null, $dbase = 'jobarch' ) {
    97                 $this->ip = $ip;
    98                 $this->dbase = $dbase;
     98
     99                global $JOB_ARCHIVE_DBASE;
     100
     101                $db_fields = explode( '/', $JOB_ARCHIVE_DBASE );
     102
     103                $this->ip = $db_fields[0];
     104                $this->dbase = $db_fields[1];
    99105                $this->conn = null;
    100106        }
Note: See TracChangeset for help on using the changeset viewer.