/pigeoncms/Plugins/fckeditor/editor/filemanager/connectors/cfm/connector.cfm

http://pigeoncms.googlecode.com/ · ColdFusion · 32 lines · 8 code · 1 blank · 23 comment · 0 complexity · 8ef0b6cc53740f0e6d303a62143a8e4d MD5 · raw file

  1. <cfsetting enablecfoutputonly="Yes">
  2. <!---
  3. * FCKeditor - The text editor for Internet - http://www.fckeditor.net
  4. * Copyright (C) 2003-2009 Frederico Caldeira Knabben
  5. *
  6. * == BEGIN LICENSE ==
  7. *
  8. * Licensed under the terms of any of the following licenses at your
  9. * choice:
  10. *
  11. * - GNU General Public License Version 2 or later (the "GPL")
  12. * http://www.gnu.org/licenses/gpl.html
  13. *
  14. * - GNU Lesser General Public License Version 2.1 or later (the "LGPL")
  15. * http://www.gnu.org/licenses/lgpl.html
  16. *
  17. * - Mozilla Public License Version 1.1 or later (the "MPL")
  18. * http://www.mozilla.org/MPL/MPL-1.1.html
  19. *
  20. * == END LICENSE ==
  21. *
  22. * File Browser connector for ColdFusion (all versions).
  23. *
  24. --->
  25. <cfset REQUEST.CFVersion = Left( SERVER.COLDFUSION.PRODUCTVERSION, Find( ",", SERVER.COLDFUSION.PRODUCTVERSION ) - 1 )>
  26. <cfif REQUEST.CFVersion lte 5>
  27. <cfinclude template="cf5_connector.cfm">
  28. <cfelse>
  29. <cfinclude template="cf_connector.cfm">
  30. </cfif>
  31. <cfabort>