<?php /** * Basic Config file of PHPGEN system. * * PHPGEN is free software; you can redistribute it and/or modify * it under the terms of the GNU General Public License as published by * the Free Software Foundation; either version 2 of the License, or * (at your option) any later version. * * PHPGEN is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the * GNU General Public License for more details. * * You should have received a copy of the GNU General Public License * along with PHPGEN; if not, write to the Free Software * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA * * @copyright EasySoft R&D Team (C) 2006 * @author Chunsheng Wang <hide@address.com> * @link http://www.phpgen.com * @package Include * @version $Id: Config.php,v 1.9 2006/08/17 13:52:56 wangcs Exp $ */ /* Misc items of site. */ $_CFG["BaseURL"] = "http://" . $_SERVER["HTTP_HOST"] . "/"; $_CFG["BasePath"] = ""; $_CFG["CookieDomain"] = "/"; /* Define surported language list, the first will be the default language. */ $_CFG["Lang"]["ZH_CN"] = "䏿ç®ä½"; $_CFG["Lang"]["ZH_TW"] = "䏿ç¹é«"; $_CFG["Lang"]["English"] = "English"; /* Definet the working dirs. */ $_CFG["UserHome"] = "Home/"; $_CFG["PageHome"] = "Pages/"; $_CFG["TableHome"] = "Tables/"; $_CFG["CodeHome"] = "Codes/"; /* Define index pages. */ $_CFG["IndexPRJ"] = "IndexPRJ.php"; $_CFG["IndexPage"] = "IndexPage.php"; $_CFG["IndexTBL"] = "IndexTBL.php"; /* Define Generators param. */ $_CFG["GEN"]["TemplateHome"] = $_CFG["SysRoot"] . "Include/Class/Generator/Templates/"; $_CFG["GEN"]["PluginHome"] = $_CFG["SysRoot"] . "Include/Class/Generator/Plugins/"; $_CFG["GEN"]["FilesToCopy"] = $_CFG["SysRoot"] . "Include/Class/Generator/FilesToCopy/"; $_CFG["GEN"]["EmptyLine"] = "'''"; /* Commuser can modify project or not. */ $_CFG["CommonCanModifyPRJ"] = false; ?>