Skip to content
Find file
Fetching contributors…
Cannot retrieve contributors at this time
executable file 62 lines (48 sloc) 2.96 KB
<!--- This file is part of Mura CMS.
Mura CMS 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, Version 2 of the License.
Mura CMS is distributed in the hope that it will be useful,
but WITHOUT ANY WARRANTY; without even the implied warranty of
GNU General Public License for more details.
You should have received a copy of the GNU General Public License
along with Mura CMS. If not, see <>.
Linking Mura CMS statically or dynamically with other modules constitutes the preparation of a derivative work based on
Mura CMS. Thus, the terms and conditions of the GNU General Public License version 2 ("GPL") cover the entire combined work.
However, as a special exception, the copyright holders of Mura CMS grant you permission to combine Mura CMS with programs
or libraries that are released under the GNU Lesser General Public License version 2.1.
In addition, as a special exception, the copyright holders of Mura CMS grant you permission to combine Mura CMS with
independent software modules (plugins, themes and bundles), and to distribute these plugins, themes and bundles without
Mura CMS under the license of your choice, provided that you follow these specific guidelines:
Your custom code
• Must not alter any default objects in the Mura CMS database and
• May not alter the default display of the Mura CMS logo within Mura CMS and
• Must not alter any files in the following directories.
You may copy and distribute Mura CMS with a plug-in, theme or bundle that meets the above guidelines as a combined work
under the terms of GPL for Mura CMS, provided that you include the source code of that other code when and as the GNU GPL
requires distribution of source code.
For clarity, if you create a modified version of Mura CMS, you are not obligated to grant this special exception for your
modified version; it is your choice whether to do so, or to make such modified version available under the GNU General Public License
version 2 without this exception. You may, if you choose, apply this exception to your own modified versions of Mura CMS.
<cfif listFind(session.mura.memberships,'S2')>
<cfset contentUtility = application.serviceFactory.getBean("contentUtility") />
<cfset categoryUtility = application.serviceFactory.getBean("categoryUtility") />
<cfset rslist=application.settingsManager.getlist() />
<cfloop query="rslist">
<cfset contentUtility.updateGlobalMaterializedPath(rslist.siteID)/>
<cfset contentUtility.updateGlobalCommentsMaterializedPath(rslist.siteID)/>
<cfset categoryUtility.updateGlobalMaterializedPath(rslist.siteID)/>
The paths have been reset.
You must be logged in as a super user in order to access this functionality.
Something went wrong with that request. Please try again.