コード例 #1
0
ファイル: dbstorage.php プロジェクト: JDevelopers/Mail
<?php

/*
 * AfterLogic Admin Panel by AfterLogic Corp. <*****@*****.**>
 *
 * Copyright (C) 2002-2010  AfterLogic Corp. (www.afterlogic.com)
 * Distributed under the terms of the license described in LICENSE.txt
 * 
 */
defined('CM_DB_LIBS_PATH') || define('CM_DB_LIBS_PATH', ap_Utils::PathPreparation(dirname(__FILE__)));
include_once CAdminPanel::RootPath() . '/core/db/class_dbsql.php';
class mainCommon_DbStorage
{
    /**
     * @var	DbMySql
     */
    var $_connector;
    /**
     * @var	MySQL_CommandCreator
     */
    var $_commandCreator;
    /**
     * @var	WebMail_Settings
     */
    var $_settings;
    /**
     * @return	DbMySql
     */
    function &GetConnector()
    {
        return $this->_connector;
コード例 #2
0
ファイル: class_filldata.php プロジェクト: JDevelopers/Mail
 function Integr(&$_settings)
 {
     $_settings->WmServerRootPath = isset($_POST['txtWmServerRootPath']) ? ap_Utils::PathPreparation($_POST['txtWmServerRootPath']) : $_settings->WmServerRootPath;
     $_settings->WmServerHost = isset($_POST['txtWmServerHostName']) ? $_POST['txtWmServerHostName'] : $_settings->WmServerHost;
     $_settings->WmAllowManageXMailAccounts = isset($_POST['intWmAllowManageXMailAccounts']) && $_POST['intWmAllowManageXMailAccounts'] == 1;
 }