(New page: == Init == This is the first command issued by CKFinder. It returns the general settings of the connector and all configured resource types. === Sample Request === <pre>connector.php?com...) |
|||
Line 6: | Line 6: | ||
<pre>connector.php?command=Init</pre> | <pre>connector.php?command=Init</pre> | ||
=== Sample Response === | === Sample Response === | ||
− | + | <pre><?xml version="1.0" encoding="utf-8"?> | |
− | <Connector | + | <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></pre> | </Connector></pre> |
Revision as of 14:15, 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
<?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>