Line 1: | Line 1: | ||
+ | {{CKFinder_SSI_Warning}} | ||
== Init == | == Init == | ||
Revision as of 15:34, 16 January 2008
Init
This is the first command issued by CKFinder. It returns the general settings of the connector and all configured resource types.
Sample Request
connector.php?command=Init
Sample Response
<pre><?xml version="1.0" encoding="utf-8"?> <Connector> <Error number="0" /> <ConnectorInfo enabled="true" s="" c="" thumbsEnabled="true" /> <ResourceTypes> <ResourceType name="Files" url="/ckfinder/userfiles/files/" allowedExtensions="" deniedExtensions="php,php3,php5,phtml,asp,aspx,ascx,jsp,cfm,cfc,pl,bat,exe,dll,reg,cgi" defaultView="Thumbnails" acl="255" /> <ResourceType name="Images" url="/ckfinder/userfiles/images/" allowedExtensions="jpg,gif,jpeg,png" deniedExtensions="" defaultView="Thumbnails" acl="255" /> <ResourceType name="Flash" url="/ckfinder/userfiles/flash/" allowedExtensions="swf,fla" deniedExtensions="" defaultView="Thumbnails" acl="255" /> </ResourceTypes> </Connector>