| 1 | <!--- This file is part of Mura CMS. |
|---|
| 2 | |
|---|
| 3 | Mura CMS is free software: you can redistribute it and/or modify |
|---|
| 4 | it under the terms of the GNU General Public License as published by |
|---|
| 5 | the Free Software Foundation, Version 2 of the License. |
|---|
| 6 | |
|---|
| 7 | Mura CMS is distributed in the hope that it will be useful, |
|---|
| 8 | but WITHOUT ANY WARRANTY; without even the implied warranty of |
|---|
| 9 | MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. â See the |
|---|
| 10 | GNU General Public License for more details. |
|---|
| 11 | |
|---|
| 12 | You should have received a copy of the GNU General Public License |
|---|
| 13 | along with Mura CMS. â If not, see <http://www.gnu.org/licenses/>. |
|---|
| 14 | |
|---|
| 15 | Linking Mura CMS statically or dynamically with other modules constitutes |
|---|
| 16 | the preparation of a derivative work based on Mura CMS. Thus, the terms and |
|---|
| 17 | conditions of the GNU General Public License version 2 (ìGPLî) cover the entire combined work. |
|---|
| 18 | |
|---|
| 19 | However, as a special exception, the copyright holders of Mura CMS grant you permission |
|---|
| 20 | to combine Mura CMS with programs or libraries that are released under the GNU Lesser General Public License version 2.1. |
|---|
| 21 | |
|---|
| 22 | In addition, as a special exception, â the copyright holders of Mura CMS grant you permission |
|---|
| 23 | to combine Mura CMS â with independent software modules that communicate with Mura CMS solely |
|---|
| 24 | through modules packaged as Mura CMS plugins and deployed through the Mura CMS plugin installation API, |
|---|
| 25 | provided that these modules (a) may only modify the â /trunk/www/plugins/ directory through the Mura CMS |
|---|
| 26 | plugin installation API, (b) must not alter any default objects in the Mura CMS database |
|---|
| 27 | and (c) must not alter any files in the following directories except in cases where the code contains |
|---|
| 28 | a separately distributed license. |
|---|
| 29 | |
|---|
| 30 | /trunk/www/admin/ |
|---|
| 31 | /trunk/www/tasks/ |
|---|
| 32 | /trunk/www/config/ |
|---|
| 33 | /trunk/www/requirements/mura/ |
|---|
| 34 | |
|---|
| 35 | You may copy and distribute such a combined work under the terms of GPL for Mura CMS, provided that you include |
|---|
| 36 | the source code of that other code when and as the GNU GPL requires distribution of source code. |
|---|
| 37 | |
|---|
| 38 | For clarity, if you create a modified version of Mura CMS, you are not obligated to grant this special exception |
|---|
| 39 | for your modified version; it is your choice whether to do so, or to make such modified version available under |
|---|
| 40 | the GNU General Public License version 2 â without this exception. â You may, if you choose, apply this exception |
|---|
| 41 | to your own modified versions of Mura CMS. |
|---|
| 42 | ---> |
|---|
| 43 | <cfcomponent output="false"> |
|---|
| 44 | <cfinclude template="config/applicationSettings.cfm"> |
|---|
| 45 | |
|---|
| 46 | <cfif not hasMainMappings> |
|---|
| 47 | <!--- Try and include global mappings ---> |
|---|
| 48 | <cfset canWriteMode=true> |
|---|
| 49 | <cfset canWriteMappings=true> |
|---|
| 50 | <cfset hasMappings=true> |
|---|
| 51 | |
|---|
| 52 | <cftry> |
|---|
| 53 | <cfinclude template="config/mappings.cfm"> |
|---|
| 54 | <cfcatch type="missingInclude"> |
|---|
| 55 | <cfset hasMappings=false> |
|---|
| 56 | </cfcatch> |
|---|
| 57 | </cftry> |
|---|
| 58 | |
|---|
| 59 | <cfif not hasMappings> |
|---|
| 60 | <cfinclude template="config/buildMainMappings.cfm"> |
|---|
| 61 | </cfif> |
|---|
| 62 | |
|---|
| 63 | </cfif> |
|---|
| 64 | |
|---|
| 65 | <cfif not hasPluginMappings> |
|---|
| 66 | <!--- Try and include plugin mappings ---> |
|---|
| 67 | <cfset canWriteMode=true> |
|---|
| 68 | <cfset hasMappings=true> |
|---|
| 69 | <cfset canWriteMappings=true> |
|---|
| 70 | <cftry> |
|---|
| 71 | <cfinclude template="plugins/mappings.cfm"> |
|---|
| 72 | <cfcatch type="missingInclude"> |
|---|
| 73 | <cfset hasMappings=false> |
|---|
| 74 | </cfcatch> |
|---|
| 75 | </cftry> |
|---|
| 76 | |
|---|
| 77 | <cfif not hasMappings> |
|---|
| 78 | <cfinclude template="config/buildPluginMappings.cfm"> |
|---|
| 79 | </cfif> |
|---|
| 80 | |
|---|
| 81 | </cfif> |
|---|
| 82 | |
|---|
| 83 | <cfinclude template="config/appcfc/onApplicationStart_method.cfm"> |
|---|
| 84 | <cfinclude template="config/appcfc/onRequestStart_scriptProtect_method.cfm"> |
|---|
| 85 | <cfinclude template="config/appcfc/onRequestEnd_method.cfm"> |
|---|
| 86 | <cfinclude template="config/appcfc/onSessionStart_method.cfm"> |
|---|
| 87 | <cfinclude template="config/appcfc/onSessionEnd_method.cfm"> |
|---|
| 88 | <cfinclude template="config/appcfc/onError_method.cfm"> |
|---|
| 89 | <cfinclude template="config/appcfc/onMissingTemplate_method.cfm"> |
|---|
| 90 | </cfcomponent> |
|---|