Defaults.object
上传用户:xiao730204
上传日期:2007-01-04
资源大小:141k
文件大小:2k
源码类别:

WEB邮件程序

开发平台:

PHP

  1. <?php
  2. class Defaults extends BaseObject {
  3.    var $base_url;             /* The base url to the site */
  4.    var $template_base;        /* The actualt root of the templates */
  5.    var $db;                   /* DbDefaults */
  6.    var $user_db;              /* UserDb */
  7.    var $user_theme_db;        /* User Theme Db */
  8.    var $user_domain_db;       /* User_Domain_Db */
  9.    var $admin_privileges_db;  /* PrivilegesDb */
  10.    var $session_db;           /* SessionsDb */
  11.    var $pimp_settings_db;     /* PimpSettingsDb */
  12.    var $customer_db;          /* Customer_Db */
  13.    var $pimp;                 /* Pimp_DefaultApplicationSettings */
  14.    var $user_change_themes;   /* Users can change their themes */
  15.    var $graphics_base_url;    /* Base Url */
  16.    /* SMTP Configuration */
  17.    var $use_sendmail;
  18.    var $sendmail_command;
  19.    var $use_smtp;
  20.    var $smtp_server;
  21.    var $smtp_server_port;
  22.    /* Vpopmail hooks */
  23.    var $vpopmail_enabled;
  24.    var $vpopmail_db;
  25.    Function Defaults() {
  26.       $this->BaseObject( 'Defaults' );
  27.       $this->base_url               = 'index.php3';
  28.       $this->template_base          = '';
  29.       $this->db                     = new DbDefaults();
  30.       $this->user_db                = new DbDefaults();
  31.       $this->user_theme_db          = new DbDefaults();
  32.       $this->user_domain_db         = new DbDefaults();
  33.       $this->user_settings_db       = new DbDefaults();
  34.       $this->admin_privileges_db    = new DbDefaults();
  35.       $this->session_db             = new DbDefaults();
  36.       $this->pimp_settings_db       = new DbDefaults();
  37.       $this->customer_db            = new DbDefaults();
  38.       $this->pimp                   = '';
  39.       $this->user_change_themes     = 0;
  40.       $this->use_sendmail           = 0;
  41.       $this->sendmail_command       = 'sendmail';
  42.       $this->use_smtp               = 1;
  43.       $this->smtp_server            = 'localhost';
  44.       $this->smtp_server_port       = 25;
  45.       $this->vpopmail_enabled       = 0;
  46.       $this->vpopmail_db            = new DbDefaults();
  47.    }
  48. }
  49. ?>