Defaults.object
上传用户:xiao730204
上传日期:2007-01-04
资源大小:141k
文件大小:2k
- <?php
- class Defaults extends BaseObject {
- var $base_url; /* The base url to the site */
- var $template_base; /* The actualt root of the templates */
- var $db; /* DbDefaults */
- var $user_db; /* UserDb */
- var $user_theme_db; /* User Theme Db */
- var $user_domain_db; /* User_Domain_Db */
- var $admin_privileges_db; /* PrivilegesDb */
- var $session_db; /* SessionsDb */
- var $pimp_settings_db; /* PimpSettingsDb */
- var $customer_db; /* Customer_Db */
- var $pimp; /* Pimp_DefaultApplicationSettings */
- var $user_change_themes; /* Users can change their themes */
- var $graphics_base_url; /* Base Url */
- /* SMTP Configuration */
- var $use_sendmail;
- var $sendmail_command;
- var $use_smtp;
- var $smtp_server;
- var $smtp_server_port;
- /* Vpopmail hooks */
- var $vpopmail_enabled;
- var $vpopmail_db;
- Function Defaults() {
- $this->BaseObject( 'Defaults' );
- $this->base_url = 'index.php3';
- $this->template_base = '';
- $this->db = new DbDefaults();
- $this->user_db = new DbDefaults();
- $this->user_theme_db = new DbDefaults();
- $this->user_domain_db = new DbDefaults();
- $this->user_settings_db = new DbDefaults();
- $this->admin_privileges_db = new DbDefaults();
- $this->session_db = new DbDefaults();
- $this->pimp_settings_db = new DbDefaults();
- $this->customer_db = new DbDefaults();
- $this->pimp = '';
- $this->user_change_themes = 0;
- $this->use_sendmail = 0;
- $this->sendmail_command = 'sendmail';
- $this->use_smtp = 1;
- $this->smtp_server = 'localhost';
- $this->smtp_server_port = 25;
- $this->vpopmail_enabled = 0;
- $this->vpopmail_db = new DbDefaults();
- }
- }
- ?>