/fw1config.cfm

http://github.com/Lagaffe/MobileMura · ColdFusion · 59 lines · 35 code · 5 blank · 19 comment · 2 complexity · 7fc91ea60c35cc9b3be56f266d09a945 MD5 · raw file

  1. <!---
  2. MobileMura/fw1config.cfm
  3. Copyright 2011 Guust Nieuwenhuis
  4. Licensed under the Apache License, Version 2.0 (the "License");
  5. you may not use this file except in compliance with the License.
  6. You may obtain a copy of the License at
  7. http://www.apache.org/licenses/LICENSE-2.0
  8. Unless required by applicable law or agreed to in writing, software
  9. distributed under the License is distributed on an "AS IS" BASIS,
  10. WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
  11. See the License for the specific language governing permissions and
  12. limitations under the License.
  13. --->
  14. <cfscript>
  15. framework = StructNew();
  16. // !important: enter the plugin packageName here. must be the same as found in '/plugin/config.xml.cfm'
  17. framework.package = 'MobileMura';
  18. // less commonly modified
  19. framework.defaultSection = 'main';
  20. framework.defaultItem = 'default';
  21. framework.usingSubSystems = true;
  22. framework.defaultSubsystem = 'public';
  23. // ***** rarely modified *****
  24. framework.applicationKey = framework.package;
  25. framework.base = '/' & framework.package;
  26. framework.action = 'action';
  27. //framework.reload = 'reload';
  28. //framework.password = 'appreload';
  29. framework.reloadApplicationOnEveryRequest = true;
  30. framework.generateSES = false;
  31. framework.SESOmitIndex = true;
  32. framework.baseURL = 'useRequestURI';
  33. framework.suppressImplicitService = false;
  34. framework.unhandledExtensions = 'cfc';
  35. framework.unhandledPaths = '/flex2gateway';
  36. framework.preserveKeyURLKey = 'fw1pk';
  37. framework.maxNumContextsPreserved = 10;
  38. framework.cacheFileExists = false;
  39. if ( framework.usingSubSystems ) {
  40. framework.subsystemDelimiter = ':';
  41. framework.siteWideLayoutSubsystem = 'common';
  42. framework.home = framework.defaultSubsystem & framework.subsystemDelimiter & framework.defaultSection & '.' & framework.defaultItem;
  43. framework.error = framework.defaultSubsystem & framework.subsystemDelimiter & framework.defaultSection & '.error';
  44. } else {
  45. framework.home = framework.defaultSection & '.' & framework.defaultItem;
  46. framework.error = framework.defaultSection & '.error';
  47. };
  48. </cfscript>