| [ PHPXref.com ] | [ Generated: Sun Jul 20 16:50:16 2008 ] | [ CiviCRM 1.4.5222 ] |
| [ Index ] [ Variables ] [ Functions ] [ Classes ] [ Constants ] [ Statistics ] | ||
[Summary view] [Print] [Text view]
1 <?php 2 /** 3 * CiviCRM Configuration File - v1.4 4 */ 5 6 /** 7 * Enable CiviCRM Components: 8 * 9 * You can choose to enable or hide add-on components which provide additional functionality 10 * for your CiviCRM site by listing the component names (separated by commas) below. 11 * 12 * EXAMPLE: enable the CiviContribute component for collecting and managing online and offline 13 * contributions, as well as the CiviMail high capacity broadcast mail component: 14 * define( 'ENABLE_COMPONENTS', 'CiviContribute, CiviMail' ); 15 * 16 */ 17 define( 'ENABLE_COMPONENTS', '' ); 18 19 /** 20 * Content Management System (CMS) Host: 21 * 22 * CiviCRM can be hosted in either Drupal or Mambo. Retain the default settings 23 * for Drupal. 24 * 25 * Settings for Mambo: 26 * define( 'CIVICRM_UF' , 'Mambo' ); 27 * define( 'CIVICRM_UF_VERSION', '1.0.8' ); 28 * define( 'CIVICRM_UF_URLVAR' , 'task' ); 29 */ 30 define( 'CIVICRM_UF' , 'Drupal' ); 31 define( 'CIVICRM_UF_VERSION' , '4.6' ); 32 define( 'CIVICRM_UF_URLVAR' , 'q' ); 33 34 /** 35 * Content Management System (CMS) Datasource: 36 * 37 * Update this setting with your CMS (Drupal or Mambo) database username, server and DB name. 38 * Datasource (DSN) format: 39 * define( 'CIVICRM_UF_DSN', 'mysql://cms_db_username:cms_db_password@db_server/cms_database?new_link=true'); 40 */ 41 define( 'CIVICRM_UF_DSN' , 'mysql://DBUSER:PASSWORD@HOSTNAME/DATABASE?new_link=true' ); 42 43 /** 44 * Content Management System (CMS) User Table-name: 45 * 46 * Update the CIVICRM_UF_USERSTABLENAME if needed to match the name of the table 47 * where the CMS user data is stored. Default for Drupal installs is 'users'. 48 * If you are using table-prefixing for the users table, you must enter the tablename 49 * with the prefix. Default table name for Joomla - 'jos_users'. For Mambo - 'mos_users'. 50 */ 51 define( 'CIVICRM_UF_USERSTABLENAME', 'users' ); 52 53 /** 54 * File System Paths: 55 * 56 * $civicrm_root is the file system path on your server where the civicrm 57 * code is installed. 58 * 59 * CIVICRM_TEMPLATE_COMPILEDIR is the file system path where compiled templates are stored. 60 * These sub-directories and files are temporary caches and will be recreated automatically 61 * if deleted. 62 * 63 * CIVICRM_UPLOADDIR is the file system path where temporary CiviCRM files - such as 64 * import data files - are uploaded. 65 * 66 * CIVICRM_IMAGE_UPLOADDIR is the file system path where image files are uploaded 67 * (e.g. premium product images). 68 * 69 * IMPORTANT: The COMPILEDIR, UPLOADDIR and IMAGE_UPLOADDIR directories must exist, 70 * and your web server must have write access to these directories. 71 * 72 * EXAMPLE - CivicSpace / Drupal: 73 * If the path to the CivicSpace or Drupal home directory is /var/www/htdocs/civicspace 74 * the $civicrm_root setting would be: 75 * $civicrm_root = '/var/www/htdocs/civicspace/modules/civicrm/'; 76 * 77 * the CIVICRM_TEMPLATE_COMPILEDIR would be: 78 * define( 'CIVICRM_TEMPLATE_COMPILEDIR', '/var/www/htdocs/civicspace/files/civicrm/templates_c/' ); 79 * 80 * and the CIVICRM_UPLOADDIR would be: 81 * define( 'CIVICRM_UPLOADDIR', '/var/www/htdocs/civicspace/files/civicrm/upload/' ); 82 * 83 * the CIVICRM_IMAGE_UPLOADDIR would be: 84 * define( 'CIVICRM_IMAGE_UPLOADDIR', '/var/www/htdocs/civicspace/files/civicrm/persist/' ); 85 * 86 * EXAMPLE - Joomla/Mambo Installations: 87 * If the path to the Joomla home directory is /var/www/htdocs/joomla 88 * the $civicrm_root setting would be: 89 * $civicrm_root = '/var/www/htdocs/joomla/administrator/components/com_civicrm/civicrm/'; 90 * 91 * the CIVICRM_TEMPLATE_COMPILEDIR would be: 92 * define( 'CIVICRM_TEMPLATE_COMPILEDIR', '/var/www/htdocs/joomla/media/civicrm/templates_c/' ); 93 * 94 * and the CIVICRM_UPLOADDIR would be: 95 * define( 'CIVICRM_UPLOADDIR', '/var/www/htdocs/joomla/media/civicrm/upload/' ); 96 * 97 * the CIVICRM_IMAGE_UPLOADDIR would be: 98 * define( 'CIVICRM_IMAGE_UPLOADDIR', '/var/www/htdocs/joomla/media/civicrm/persist/' ); 99 * 100 */ 101 global $civicrm_root; 102 $civicrm_root = ''; 103 define( 'CIVICRM_TEMPLATE_COMPILEDIR', '' ); 104 define( 'CIVICRM_UPLOADDIR' , '' ); 105 define( 'CIVICRM_IMAGE_UPLOADDIR' , ''); 106 107 /** 108 * Site URLs: 109 * 110 * This section defines absolute and relative URLs to access the host CMS (Drupal or Joomla) 111 * and CiviCRM resources. 112 * 113 * IMPORTANT: Trailing slashes should be used on all URL settings. 114 * 115 * EXAMPLES - Drupal/CivicSpace Installations: 116 * If your site's home url is http://www.example.com/civicspace/ 117 * these variables would be set as below. Modify as needed for your install. 118 * 119 * CIVICRM_UF_BASEURL - home URL for your site: 120 * define( 'CIVICRM_UF_BASEURL' , 'http://www.example.com/civicspace/' ); 121 * 122 * CIVICRM_UF_RESOURCEURL - Absolute URL to directory where civicrm.module is located: 123 * define( 'CIVICRM_UF_RESOURCEURL', 'http://www.example.com/civicspace/modules/civicrm/' ); 124 * 125 * CIVICRM_RESOURCEBASE - Relative URL to directory where civicrm.module is located: 126 * define( 'CIVICRM_RESOURCEBASE' , '/civicspace/modules/civicrm/' ); 127 * 128 * CIVICRM_IMAGE_UPLOADURL - Absolute URL to directory where uploaded image files are located: 129 * define( 'CIVICRM_IMAGE_UPLOADURL' , 'http://www.example.com/civicspace/files/civicrm/persist/' ); 130 * 131 * 132 * EXAMPLES - Joomla/Mambo Installations: 133 * If your site's home url is http://www.example.com/joomla/ 134 * 135 * CIVICRM_UF_BASEURL - home URL for your site: 136 * Administration site: 137 * define( 'CIVICRM_UF_BASEURL' , 'http://www.example.com/joomla/administrator/' ); 138 * Front-end site: 139 * define( 'CIVICRM_UF_BASEURL' , 'http://www.example.com/joomla/' ); 140 * 141 * CIVICRM_UF_RESOURCEURL - Absolute URL to directory where CiviCRM componenet is installed: 142 * Administration and front-end sites: 143 * define( 'CIVICRM_UF_RESOURCEURL', 'http://www.example.com/joomla/administrator/components/com_civicrm/civicrm/' ); 144 * 145 * CIVICRM_RESOURCEBASE - Relative URL to directory where CiviCRM componenet is installed: 146 * Administration and front-end sites: 147 * define( 'CIVICRM_RESOURCEBASE' , '/joomla/administrator/components/com_civicrm/civicrm/' ); 148 * 149 * CIVICRM_IMAGE_UPLOADURL - Absolute URL to directory where uploaded image files are located: 150 * define( 'CIVICRM_IMAGE_UPLOADURL' , 'http://www.example.com/joomla/media/civicrm/persist/' ); 151 * 152 */ 153 define( 'CIVICRM_UF_BASEURL' , '' ); 154 define( 'CIVICRM_UF_RESOURCEURL' , '' ); 155 define( 'CIVICRM_RESOURCEBASE' , '' ); 156 define( 'CIVICRM_IMAGE_UPLOADURL' , '' ); 157 158 /** 159 * CiviCRM Database Settings: 160 * 161 * Define the version of MySQL you are running. 162 * CiviCRM has been optimized for MySQL 4.1, but will also run on many 4.0.x versions. 163 * If you are using a 4.0.x release of MySQL, you MUST change CIVICRM_MYSQL_VERSION to 4.0 164 * 165 * Define the database URL (CIVICRM_DSN) for the CiviCRM database and the Drupal/Mambo database 166 * Database URL format: 167 * define( 'CIVICRM_DSN', 'mysql://crm_db_username:crm_db_password@db_server/crm_database?new_link=true'); 168 * 169 * Drupal and CiviCRM can share the same database, or can be installed into separate databases. 170 * 171 * EXAMPLE: Drupal and CiviCRM running in the same database... 172 * DB Name = drupal, DB User = drupal 173 * define( 'CIVICRM_DSN' , 'mysql://drupal:YOUR_PASSWORD@localhost/drupal?new_link=true' ); 174 * 175 * EXAMPLE: Drupal and CiviCRM running in separate databases... 176 * Drupal DB Name = drupal, DB User = drupal 177 * CiviCRM DB Name = civicrm, CiviCRM DB User = civicrm 178 * define( 'CIVICRM_DSN' , 'mysql://civicrm:YOUR_PASSWORD@localhost/civicrm?new_link=true' ); 179 * 180 * define( 'CIVICRM_MYSQL_PATH', '/usr/bin/' ); 181 * 182 * This stores the installed path of mysql. You will need to verify and modify this value if you are 183 * planning on using CiviCRMs built-in Database Backup utility. If you have shell access, you may be 184 * able to query the path by using one of the following commands: 185 * $ whereis mysql 186 * $ type mysql 187 */ 188 define( 'CIVICRM_MYSQL_VERSION', 4.0 ); 189 define( 'CIVICRM_DSN' , 'mysql://DBUSER:PASSWORD@HOSTNAME/DATABASE?new_link=true' ); 190 define( 'CIVICRM_MYSQL_PATH', '/usr/bin/' ); 191 192 /** 193 * SMTP Server: 194 * 195 * If you are sending emails to contacts using CiviCRM's simple 'Send Email' functionality 196 * AND / OR using the CiviMail component, you need to enter the (machine) name for your 197 * SMTP Server. 198 * 199 * The standard STMP Port is 25, so you should only need to change that value if you find 200 * that your SMTP server is running on a non-standard port. 201 * 202 * If your server requires authentication, set CIVICRM_SMTP_AUTH to true 203 * and provide the username and password in CIVICRM_SMTP_USERNAME and 204 * CIVICRM_SMTP_PASSWORD. 205 * 206 * Examples: 207 * define( 'CIVICRM_SMTP_SERVER' , 'smtp.example.com'); 208 * define( 'CIVICRM_SMTP_PORT' , 25 ); 209 * define( 'CIVICRM_SMTP_AUTH' , true ); 210 * define( 'CIVICRM_SMTP_USERNAME', 'smtp_username' ); 211 * define( 'CIVICRM_SMTP_PASSWORD', 'smtp_password' ); 212 */ 213 define( 'CIVICRM_SMTP_SERVER' , '' ); 214 define( 'CIVICRM_SMTP_PORT' , 25 ); 215 define( 'CIVICRM_SMTP_AUTH' , false ); 216 define( 'CIVICRM_SMTP_USERNAME', '' ); 217 define( 'CIVICRM_SMTP_PASSWORD', '' ); 218 219 /** 220 * Country Availability: 221 * 222 * The CIVICRM_COUNTRY_LIMIT option selects which countries are 223 * available to the users of this CiviCRM install. The format of this option 224 * is a comma-separated list of country ISO codes (US for United States, PL for 225 * Poland, etc.). If you're not sure what is the code for a given country, you 226 * can check it in the civicrm_country table and/or the xml/templates/civicrm_country.tpl 227 * file. The empty default does not limit the country list. 228 */ 229 define( 'CIVICRM_COUNTRY_LIMIT' , 'US' ); 230 231 /** 232 * Province Availability: 233 * 234 * CiviCRM ships with a set of provinces derived from the ISO 3166-2 standard; 235 * the civicrm_state_province table includes almost 3800 provinces. The 236 * CIVICRM_PROVINCE_LIMIT option selects which countries' provinces are 237 * available to the users of this CiviCRM install. The format of this option 238 * is a comma-separated list of country ISO codes (US for United States, PL for 239 * Poland, etc.). If you're not sure what is the code for a given country, you 240 * can check it in the civicrm_country table and/or the xml/templates/civicrm_country.tpl 241 * file. The default limits the province list to United States. 242 */ 243 define( 'CIVICRM_PROVINCE_LIMIT' , 'US' ); 244 245 246 /** 247 * Default Contact Country 248 * 249 * When new contacts are added, the country field can be automatically populated wih 250 * a default value. Use the country's ISO code here (US for United States, CA for Canada, etc). 251 */ 252 define( 'CIVICRM_DEFAULT_CONTACT_COUNTRY', 'US' ); 253 254 /** 255 * Default Currency 256 * 257 * For clarity, all of the money amounts in the CiviCRM database must have 258 * their currencies specified. If the currency is not specified by the user 259 * (in the API call, while importing contributions, etc.) the system uses the 260 * below default currency. 261 * 262 * The currency must be specified by its ISO 4217 263 * code: http://en.wikipedia.org/wiki/ISO_4217 264 */ 265 define( 'CIVICONTRIBUTE_DEFAULT_CURRENCY' , 'USD' ); 266 267 268 /** 269 * Localisation: 270 * 271 * Localisation for CiviCRM's user interface is supported via GNU gettext i18n library. 272 * Each locale directory contains the translations for that language in .pot and .po files. 273 * To switch to a locale other than the default 'en_US', enter the directory name for the 274 * new locale (stored below civicrm/l10n directory). Locale format is 'langageCode_countryCode' 275 * (e.g. 'pl_PL' for Polish translation). 276 */ 277 define( 'CIVICRM_LC_MESSAGES' , 'en_US' ); 278 279 /** 280 * Address Format: 281 * 282 * The format of address display and the source for address fields sequence in the edit forms. 283 * 284 * - Every {...token...} will be replaced with the token's value (keeping anything else inside 285 * the curly braces intact). 286 * - If the value of a given token is missing, the whole {...} construct will be dropped. 287 * - Any {non-token} construct will be turned into non-token if have tokens on both sides 288 * (i.e., will be dropped if on the beginning or end of any line after tokens are replaced). 289 * If there's no city, "{city}{, }{state_province}{ }{postal_code}" will turn first into 290 * "{, }California{ }12345" and then into "California 12345". 291 * - If after token replacements there are consecutive {non-token} constructs, the first 292 * one's contents will replace the whole series. For example, if there's no state_province, 293 * "{city}{, }{state_province}{ }{postal_code}" will first turn into "San Francisco{, }{ }12345" 294 * and then into "San Francisco, 12345". 295 */ 296 define( 'CIVICRM_ADDRESS_FORMAT' , ' 297 {street_address} 298 {supplemental_address_1} 299 {supplemental_address_2} 300 {city}{, }{state_province}{ }{postal_code} 301 {country} 302 ' ); 303 304 /** 305 * Date Formatting: 306 * 307 * Formats for date display and input fields are configurable. Settings use standard POSIX sequences. 308 * Standard U.S. layouts are set by default. Adjust as needed to match your locale/requirements. 309 * 310 * Refer to CiviCRM Localisation documentation for more info. 311 */ 312 define( 'CIVICRM_DATEFORMAT_DATETIME', '%B %E%f, %Y %l:%M %P' ); 313 define( 'CIVICRM_DATEFORMAT_FULL', '%B %E%f, %Y' ); 314 define( 'CIVICRM_DATEFORMAT_PARTIAL', '%B %Y' ); 315 define( 'CIVICRM_DATEFORMAT_YEAR', '%Y' ); 316 define( 'CIVICRM_DATEFORMAT_QF_DATE', '%b %d %Y' ); 317 define( 'CIVICRM_DATEFORMAT_QF_DATETIME', '%b %d %Y, %I : %M %P' ); 318 319 /** 320 * Money Display: 321 * 322 * Format for monetary values display. 323 * %c - currency symbol ('$') 324 * %C - currency ISO code ('USD') 325 * %a - monetary amount, formatted by properly set LC_MONETARY 326 * 327 * The final 'look' of the formatted amount depends on the defined 328 * CIVICRM_LC_MONETARY locale Locale format is 'langageCode_countryCode'. 329 * The specified locale must be supported by the underlying operating system. 330 */ 331 define( 'CIVICRM_MONEYFORMAT', '%c %a' ); 332 define( 'CIVICRM_LC_MONETARY', 'en_US' ); 333 334 /** 335 * Mapping: 336 * 337 * Plug-ins are included for both Google and Yahoo mapping service providers. Choose the 338 * provider that has the best coverage for your commonly used locales by setting the Map 339 * CIVICRM_MAP_PROVIDER to either 'Google' or 'Yahoo'. 340 * 341 * For GOOGLE mapping - request an API key for your site here: 342 * http://www.google.com/apis/maps/signup.html 343 * 344 * When prompted for 'My Web Site URL' - enter the url for your CiviCRM menu followed by 345 * the path '/contact/search'. Your API Key will be generated and displayed on the next page. 346 * 347 * EXAMPLE: if your Drupal site url is http://www.example.com/civicspace/ you would enter 348 * 'http://www.example.com/civicspace/civicrm/contact/search' 349 * 350 * For YAHOO mapping - request an Application ID for your site here: 351 * http://api.search.yahoo.com/webservices/register_application 352 * 353 * Enter either your Google API key OR Yahoo Application ID in the CIVICRM_MAP_API_KEY 354 * setting below. 355 * 356 * IMPORTANT: Both mapping providers require that Contact addresses include latitude 357 * and longitude. You can populate these manually, or you must enable one of the 358 * automatic Geocode lookup methods described in the next section. 359 * 360 */ 361 define('CIVICRM_MAP_PROVIDER' , '' ); 362 define('CIVICRM_MAP_API_KEY' , '' ); 363 364 /** 365 * Geocode (latitude and longitude) Lookup: 366 * 367 * CiviCRM can be configured to automatically lookup and insert latitude and longitude for contact 368 * addresses. The current version offers three methods for this lookup: 369 * - local lookup in the Drupal zipcodes table (requires this table to be installed in the 370 * civicrm_db) 371 * define('CIVICRM_GEOCODE_METHOD', 'CRM_Utils_Geocode_ZipTable' ); 372 * 373 * - remote geocode lookup using Yahoo 374 * define('CIVICRM_GEOCODE_METHOD', 'CRM_Utils_Geocode_Yahoo' ); 375 * 376 * NOTE: Yahoo geocoding service currently requires PHP5+ with SimpleXML enabled. 377 * You must request and enter a Yahoo Application ID to use Yahoo's geocode lookup service. 378 * Enter this value in the CIVICRM_MAP_API_KEY above if you haven't already done so (the same ID 379 * is used for mapping and geocode lookups). 380 * 381 * - remote geocode lookup using geocoder.us 382 * define('CIVICRM_GEOCODE_METHOD', 'CRM_Utils_Geocode_RPC' ); 383 * 384 * NOTE: Both remote lookup methods involve moderate to significant network overhead and have 385 * usage limits. Yahoo's lookup is a bit faster, but neither method should be enabled when 386 * Importing more than a few hundred contacts. 387 * 388 * You may also create and call your own class using the interface defined at 389 * 'CRM_Utils_Geocode_API'. 390 */ 391 define('CIVICRM_GEOCODE_METHOD', '' ); 392 393 394 /** 395 * Automatically Check for New CiviCRM Versions: 396 * 397 * CiviCRM can be configured to connect periodically to the OpenNGO website and 398 * check for the availability of new versions. Set this value to true if you 399 * want this install to perform such checks (the info about new versions will 400 * be displayed on the main Administer CiviCRM control panel). 401 */ 402 define('CIVICRM_VERSION_CHECK', true); 403 404 /** 405 * Payment Processor Settings: 406 * 407 * If you are using CiviContribute for Online Contributions, you must obtain a Payment Processor 408 * (merchant) account and configure your site and the settings below with that account information. 409 * 410 * You should start with a Test Server (e.g. Sandbox) account, and configure both the LIVE and TEST 411 * settings below using your test (sandbox) account info. Once you are ready to go live, update 412 * the LIVE settings to use your live account info. Consult your Payment Processor's documentation 413 * and CiviCRM Payment Processor Configuration documentation (http://objectledge.org/confluence/display/CRM/CiviContribute+Payment+Processor+Configuration) 414 * for details on these settings. 415 */ 416 define( 'CIVICRM_CONTRIBUTE_PAYMENT_PROCESSOR' , '' ); 417 // Valid values are 'PayPal' (Website Payments Pro), 'PayPal_Express', and 'Moneris'. 418 419 define( 'CIVICRM_CONTRIBUTE_PAYMENT_EXPRESS_BUTTON', 'https://www.paypal.com/en_US/i/btn/btn_xpressCheckout.gif'); 420 // URL to the button image used for "express" option checkout, e.g. PayPal Express. URL to PayPal US button is provided by default. 421 // NOTE: If you've enabled SSL for your Contribution page, your button image should be sourced via https as well. 422 423 /* 424 * TEST Payment Server (Sandbox) Settings: 425 */ 426 // PayPal ONLY - File system path where API Profile files should be created and stored. 427 define( 'CIVICRM_CONTRIBUTE_PAYMENT_TEST_CERT_PATH' , ''); 428 429 // API Password (PayPal) or API Token (Moneris) 430 define( 'CIVICRM_CONTRIBUTE_PAYMENT_TEST_PASSWORD' , '' ); 431 432 // Authentication key. For PayPal - use Administer CiviCRM >> Create PayPal API Profile to get this value. 433 // For Moneris - storeid. 434 define( 'CIVICRM_CONTRIBUTE_PAYMENT_TEST_KEY' , '' ); 435 436 define( 'CIVICRM_CONTRIBUTE_PAYMENT_PAYPAL_EXPRESS_TEST_URL', 'www.sandbox.paypal.com'); 437 // Hostname for "PayPal Express" button submit in test-drive mode. Value for US is provided by default. 438 // Do not change this value unless you are submitting to a non-US PayPal instance. 439 440 /* 441 * LIVE Payment Server Settings: 442 */ 443 // PayPal ONLY - File system path where API Profile files should be created and stored. 444 define( 'CIVICRM_CONTRIBUTE_PAYMENT_CERT_PATH' , '' ); 445 446 // API Password (PayPal) or API Token (Moneris) 447 define( 'CIVICRM_CONTRIBUTE_PAYMENT_PASSWORD' , '' ); 448 449 // Authentication key. For PayPal - use Administer CiviCRM >> Create PayPal API Profile to get this value. 450 // For Moneris - storeid. 451 define( 'CIVICRM_CONTRIBUTE_PAYMENT_KEY' , '' ); 452 453 define( 'CIVICRM_CONTRIBUTE_PAYMENT_PAYPAL_EXPRESS_URL', 'www.paypal.com'); 454 // Hostname for "PayPal Express" button submit in live mode. Value for US is provided by default. 455 // Do not change this value unless you are submitting to a non-US PayPal instance. 456 457 /** 458 * Force SSL Redirect for Online Contribution Pages: 459 * 460 * If your site includes CiviContribute Online Contribution pages, AND you use a payment 461 * processor plugin which collects credit card and billing information ON YOUR SITE (any plugin 462 * other than PayPal_Express as of now), it is strongly recommended that you create or obtain 463 * an SSL certificate and configure your webserver to support SSL connections. Once this is 464 * done, you can change this setting to 1. With CIVICRM_ENABLE_SSL set to 1, CiviCRM will 465 * automatically redirect requests for online contribution pages to an https (SSL secured) URL. 466 * 467 */ 468 define('CIVICRM_ENABLE_SSL', 0 ); 469 470 /** 471 * Multi-site Support 472 * 473 * CiviCRM uses Domain ID keys to allow you to store separate data sets for multiple sites 474 * using the same codebase. 475 * 476 * Refer to the 'Multi-site Support' section of the Installation Guide for more info. 477 */ 478 define('CIVICRM_DOMAIN_ID' , 1 ); 479 480 /** 481 * Debugging: 482 * 483 * Enable CIVICRM_DEBUG (value = 1) when you need to use one of the debug-related tools. These are 484 * triggered via URL parameters - IF CIVICRM_DEBUG is turned on. 485 * 486 * Debugging tools: 487 * Smarty Debug Window - Loads all variables available to the current page template into a pop-up 488 * window. To trigger, add '&smartyDebug=1' to any CiviCRM URL query string. 489 * 490 * Session Reset - Resets all values in your client session. To trigger, add '&sessionReset=2' 491 * 492 * Directory Cleanup - Empties template cache and/or upload file folders. 493 * To empty template cache (civicrm/templates_c folder), add '&directoryCleanup=1' 494 * To remove temporary upload files (civicrm/upload folder), add '&directoryCleanup=2' 495 * To cleanup both, add '&directoryCleanup=3' 496 * 497 * Stack Trace - 498 * To display stack trace at top of page, add '&backtrace=1' 499 * If you need a stack trace for a POST result, you can set CIVICRM_BACKTRACE to 1 below 500 * (CIVICRM_DEBUG must also be set to 1 for this to work). 501 * 502 * WARNING: Do not leave debugging enabled by default as it can be used to expose configuration 503 * information to unauthorized browsers. 504 */ 505 define( 'CIVICRM_DEBUG', 0 ); 506 define( 'CIVICRM_BACKTRACE', 0 ); 507 508 509 /** 510 * Additional CiviMail Settings: 511 * 512 * CIVICRM_MAILER_SPOOL_PERIOD - Number of seconds between delivery attempts 513 * for new outgoing mailings. 514 * 515 * CIVICRM_VERP_SEPARATOR - Separator character used when CiviMail generates 516 * VERP (variable envelope return path) Mail-From addresses. 517 */ 518 define( 'CIVICRM_MAILER_SPOOL_PERIOD', 180); 519 define( 'CIVICRM_VERP_SEPARATOR', '.' ); 520 521 /** 522 * CiviSMS Settings: 523 * 524 * CiviSMS component is in pre-alpha. Contact the development team if you want to work 525 * with this component. 526 */ 527 define( 'CIVICRM_SMS_USERNAME' , 'USERNAME' ); 528 define( 'CIVICRM_SMS_AGGREGATOR', 'CRM_SMS_Protocol_Clickatell' ); 529 530 /** 531 * Joomla! Front-end Component Flag 532 * If this configuration file is being used by a Joomla! front-end CiviCRM component 533 * instance, this flag is set to 1. 534 */ 535 define( 'CIVICRM_UF_FRONTEND', 0 ); 536 537 /** 538 * 539 * Do not change anything below this line. Keep as is 540 * 541 */ 542 543 $include_path = '.' . PATH_SEPARATOR . 544 $civicrm_root . PATH_SEPARATOR . 545 $civicrm_root . DIRECTORY_SEPARATOR . 'packages' . PATH_SEPARATOR . 546 get_include_path( ); 547 set_include_path( $include_path ); 548 549 define( 'CIVICRM_SMARTYDIR' , $civicrm_root . DIRECTORY_SEPARATOR . 'packages' . DIRECTORY_SEPARATOR . 'Smarty' . DIRECTORY_SEPARATOR ); 550 define( 'CIVICRM_TEST_DIR' , $civicrm_root . DIRECTORY_SEPARATOR . 'test' . DIRECTORY_SEPARATOR ); 551 define( 'CIVICRM_DAO_DEBUG' , 0 ); 552 define( 'CIVICRM_TEMPLATEDIR', $civicrm_root . DIRECTORY_SEPARATOR . 'templates' ); 553 define( 'CIVICRM_PLUGINSDIR' , $civicrm_root . DIRECTORY_SEPARATOR . 'CRM' . DIRECTORY_SEPARATOR . 'Core' . DIRECTORY_SEPARATOR . 'Smarty' . DIRECTORY_SEPARATOR . 'plugins' ); 554 555 define( 'CIVICRM_GETTEXT_CODESET' , 'utf-8' ); 556 define( 'CIVICRM_GETTEXT_DOMAIN' , 'civicrm' ); 557 define( 'CIVICRM_GETTEXT_RESOURCEDIR', $civicrm_root . DIRECTORY_SEPARATOR . 'l10n' ); 558 559 if ( function_exists( 'variable_get' ) && variable_get('clean_url', '0') != '0' ) { 560 define( 'CIVICRM_CLEANURL', 1 ); 561 } else { 562 define( 'CIVICRM_CLEANURL', 0 ); 563 } 564 565 ?>
title
Description
Body
title
Description
Body
title
Description
Body
title
Body
| [ Powered by PHPXref - Served by Debian GNU/Linux ] |