// This is the configuration file for the entire CMS. // IMPORTANT: Ensure that this is E_NONE before deploying on production // server!! Otherwise, all errors will be reported to the end // user, and this may reveal some sensitive information. error_reporting(E_ALL); // Set to the base path where the outside world sees the CMS. Make sure that // the ending slash is present below. $CMS_BASE_URL_PATH = "http://www.eng.buffalo.edu/Projects/litgloss/litgloss_cms/"; // Set to the base filesystem path where the CMS lives. Ensure that the ending // slash is present. $CMS_BASE_FS_PATH = "/usr/local/info/eng/Projects/litgloss/litgloss_cms/"; // Set to the path where the outside world can get to the CMS content. Needs // trailing slash. $CMS_CONTENT_URL_PATH = $CMS_BASE_URL_PATH . "content/"; // Set to the filesystem path where the CMS content lives. Needs trailing // slash. $CMS_CONTENT_FS_PATH = $CMS_BASE_FS_PATH . "content/"; // Not used? $CMS_BASE_PATH = $CMS_BASE_URL_PATH; // Do not edit. (Note to self: then why is this here in the config file??) $EDIT_PAGE = $CMS_BASE_URL_PATH . 'editpage.php?file=%EDIT_URL%'; // Do not edit. $HISTORY_PAGE = $CMS_BASE_URL_PATH . 'viewhistory.php?file=%EDIT_URL%'; // E-mail address of where the outside world can reach the admin of the CMS. // Ensure that this address is prepared for massive amounts of spam. $ADMIN_EMAIL = "jameson@buffalo.edu"; // The host where the MySQL database lives. $DB_HOST = "localhost"; // The database username to log in as. $DB_USERNAME = "litgloss"; // The database password belonging to the user above. $DB_PASSWORD = "litpw"; // The name of the database to connect to after logging in. $DB_NAME = "litgloss_cms"; // The mode to set the content files after they are created. 0755 may be // more appropriate, but this feature needs more testing! $FILE_MODE = 0777; // The mode to set the content directories after they are created. Also not // tested much... $DIR_MODE = 0777; // The subject line for e-mails sent out to new CMS users. $WELCOME_EMAIL_SUBJECT = "Welcome to Litgloss!"; // The e-mail body to send to new CMS users. $WELCOME_EMAIL_BODY = "Welcome to Litgloss. To complete your registration, visit the following URL:\r\n\r\n\t%REG_URL%"; // The HTML header to add to all content files. $CONTENT_HEADER = "