Changeset 2567
- Timestamp:
- 07/20/10 16:08:53 (7 weeks ago)
- Location:
- branches/5.2/www
- Files:
-
- 3 modified
-
config/appcfc/onApplicationStart_include.cfm (modified) (1 diff)
-
requirements/mura/configBean.cfc (modified) (2 diffs)
-
requirements/mura/settings/settingsManager.cfc (modified) (4 diffs)
Legend:
- Unmodified
- Added
- Removed
-
branches/5.2/www/config/appcfc/onApplicationStart_include.cfm
r2479 r2567 254 254 </cftry> 255 255 256 <cfif not directoryExists("#application.configBean.getWebRoot()##application.configBean.getFileDelim()#plugins")> 256 <cfif application.configBean.getCreateRequiredDirectories() 257 and not directoryExists("#application.configBean.getWebRoot()##application.configBean.getFileDelim()#plugins")> 257 258 <cfdirectory action="create" mode="777" directory="#application.configBean.getWebRoot()##application.configBean.getFileDelim()#plugins"> 258 259 </cfif> -
branches/5.2/www/requirements/mura/configBean.cfc
r2463 r2567 106 106 <cfset variables.instance.strictExtendedData=false /> 107 107 <cfset variables.instance.purgeDrafts=true /> 108 <cfset variables.instance.createRequiredDirectories=true /> 108 109 <cfset variables.instance.confirmSaveAsDraft=true /> 109 110 <cfset variables.instance.notifyWithVersionLink=true /> … … 1025 1026 </cffunction> 1026 1027 1028 <cffunction name="getCreateRequiredDirectories" returntype="boolean" access="public" output="false"> 1029 <cfreturn variables.instance.createRequiredDirectories /> 1030 </cffunction> 1031 1032 <cffunction name="setCreateRequiredDirectories" access="public" output="false"> 1033 <cfargument name="createRequiredDirectories" /> 1034 <cfif isBoolean(arguments.createRequiredDirectories)> 1035 <cfset variables.instance.createRequiredDirectories = arguments.createRequiredDirectories /> 1036 </cfif> 1037 <cfreturn this> 1038 </cffunction> 1039 1027 1040 <cffunction name="getScriptProtect" returntype="boolean" access="public" output="false"> 1028 1041 <cfreturn variables.instance.scriptProtect /> -
branches/5.2/www/requirements/mura/settings/settingsManager.cfc
r1293 r2567 7 7 Mura CMS is distributed in the hope that it will be useful, 8 8 but WITHOUT ANY WARRANTY; without even the implied warranty of 9 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the9 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. ᅵSee the 10 10 GNU General Public License for more details. 11 11 12 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/>.13 along with Mura CMS. ᅵIf not, see <http://www.gnu.org/licenses/>. 14 14 15 15 Linking Mura CMS statically or dynamically with other modules constitutes 16 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.17 conditions of the GNU General Public License version 2 (ᅵGPLᅵ) cover the entire combined work. 18 18 19 19 However, as a special exception, the copyright holders of Mura CMS grant you permission 20 20 to combine Mura CMS with programs or libraries that are released under the GNU Lesser General Public License version 2.1. 21 21 22 In addition, as a special exception, the copyright holders of Mura CMS grant you permission23 to combine Mura CMS with independent software modules that communicate with Mura CMS solely22 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 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 CMS25 provided that these modules (a) may only modify the ᅵ/trunk/www/plugins/ directory through the Mura CMS 26 26 plugin installation API, (b) must not alter any default objects in the Mura CMS database 27 27 and (c) must not alter any files in the following directories except in cases where the code contains … … 38 38 For clarity, if you create a modified version of Mura CMS, you are not obligated to grant this special exception 39 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 exception40 the GNU General Public License version 2 ᅵwithout this exception. ᅵYou may, if you choose, apply this exception 41 41 to your own modified versions of Mura CMS. 42 42 ---> … … 173 173 <cfset variables.DAO.create(bean) /> 174 174 <cfset variables.utility.copyDir("#variables.configBean.getWebRoot()##variables.configBean.getFileDelim()#default#variables.configBean.getFileDelim()#", "#variables.configBean.getWebRoot()##variables.configBean.getFileDelim()##bean.getSiteID()##variables.configBean.getFileDelim()#") /> 175 <cfset variables.utility.createRequiredSiteDirectories(bean.getSiteID()) /> 175 <cfif variables.configBean.getCreateRequiredDirectories()> 176 <cfset variables.utility.createRequiredSiteDirectories(bean.getSiteID()) /> 177 </cfif> 176 178 <cfset setSites() /> 177 179 </cfif> … … 188 190 <cfloop query="rs"> 189 191 <cfset variables.sites['#rs.siteid#']=variables.DAO.read(rs.siteid) /> 190 <cfset variables.utility.createRequiredSiteDirectories(rs.siteid) /> 192 <cfif variables.configBean.getCreateRequiredDirectories()> 193 <cfset variables.utility.createRequiredSiteDirectories(rs.siteid) /> 194 </cfif> 191 195 </cfloop> 192 196
