General Actions:
Log-in
Register
Wiki:
Main wiki
▼
:
Document Index
»
Space:
Admin
▼
:
Document Index
»
Page:
CheckConfigInstall
Search
en
Page Actions:
Export
▼
:
Export as PDF
Export as RTF
Export as HTML
More actions
▼
:
Print preview
View Source
WebHome
»
XWiki and MySQL Configuration Check
»
XWiki Configuration Check Install
Wiki source code of
XWiki Configuration Check Install
Last modified by
Administrator
on 2010/09/24 19:35
Content
·
Comments
(0)
·
Annotations
(0)
·
Attachments
(0)
·
History
·
Information
Show line numbers
#if(!$xwiki.hasAdminRights()) You are running this script as a non admin. It will have no effect. Login as admin. #else This script automatically set the owner of the pages of the check Configuration Tool. This will allow the priviledged scripts included in them to work. #end #if($request.confirm=="1") Assigning programming rights to the following pages: #else [Confirm assigning programming rights to the following pages:>$doc.fullName?confirm=1] #end #foreach($item in ["Admin.CheckConfig", "Admin.CheckConfigInstall", "Admin.CheckDBEncoding", "Admin.CheckIndexes", "Admin.CheckRights"]) * $item #if($request.confirm=="1") $xwiki.getDocument($item).save() #end #end #if($request.confirm=="1") [Access the configuration check pages>CheckConfig]. #else [Return to the configuration check pages>CheckConfig]. #end