PageRenderTime 45ms CodeModel.GetById 15ms RepoModel.GetById 1ms app.codeStats 0ms

/cms/configs/files.consts.php

https://github.com/iconifyit/SkyBlue-1.1
PHP | 264 lines | 34 code | 62 blank | 168 comment | 0 complexity | bf87db75fd0fc6d11af82a1ea8719506 MD5 | raw file
  1. <?php
  2. /**
  3. * @version 1.1 RC1 2008-11-20 21:18:00 $
  4. * @package SkyBlueCanvas
  5. * @copyright Copyright (C) 2005 - 2008 Scott Edwin Lewis. All rights reserved.
  6. * @license GNU/GPL, see COPYING.txt
  7. * SkyBlueCanvas is free software. This version may have been modified pursuant
  8. * to the GNU General Public License, and as distributed it includes or
  9. * is derivative of works licensed under the GNU General Public License or
  10. * other free or open source software licenses.
  11. * See COPYING.txt for copyright notices and details.
  12. */
  13. # ###################################################################################
  14. # WARNING: YOU SHOULD NOT EDIT THIS FILE UNLESS YOU KNOW WHAT YOU ARE DOING!!!
  15. #
  16. # Changing any of the settings in this file can very easily cause SkyBlue to
  17. # not work. Edit this file at your own risk.
  18. # ###################################################################################
  19. # ###################################################################################
  20. # The SKYBLUE constant must always be defined by the main entry point
  21. # (i.e., the index.php file). This prevents direct access to any sub-files.
  22. # ###################################################################################
  23. defined('SKYBLUE') or die(basename(__FILE__));
  24. # ###################################################################################
  25. # SB_LANG_FILE sets the path to the current language file. Full support for
  26. # localization has not been implemented as of 16 Jan, 2007. This setting is
  27. # automatically set so DO NOT EDIT.
  28. # ###################################################################################
  29. sb_conf('SB_LANG_FILE', SB_BASE_PATH.'languages/'.SB_LANGUAGE.'.lang.php');
  30. # ###################################################################################
  31. # SB_PAGE_SKELETON_FILE points to the location of the SkyBlueCanvas page
  32. # skeleton HTML file. Since every page requires a DOCTYPE, HTML, HEAD and BODY
  33. # block, SkyBlueCanvas adds them automatically using the page skeleton.
  34. # ###################################################################################
  35. sb_conf('SB_PAGE_SKELETON_FILE', SB_UI_DEFAULTS_DIR.'page.skeleton.html');
  36. # ###################################################################################
  37. # SB_XML_PARSER_FILE points to the location of the XML Parser.
  38. # ###################################################################################
  39. sb_conf('SB_XML_PARSER_FILE', SB_INC_DIR.'xml.parser.php');
  40. # ###################################################################################
  41. # SB_DATASOURCE_FILE points to the location of the DataSource class file.
  42. # As of 16 Jan, 2007, this feature has not yet been implemented but the plan
  43. # is to allow the site admin to use XML or SQL for data storage.
  44. # The DataSource class will be used as a wrapper class so that the calls to
  45. # Get, Save, Sort, etc. data items will be the same no matter which storage
  46. # option is used.
  47. # ###################################################################################
  48. sb_conf('SB_DATASOURCE_FILE', SB_INC_DIR.'datasource.php');
  49. # ###################################################################################
  50. # SB_POSTMASTER_FILE points to the location of the SkyBlueServer PostMaster
  51. # class file. Rather than have Mail functionality defined throughout Managers,
  52. # Modules, etc., a single Mail class is defined.
  53. # ###################################################################################
  54. sb_conf('SB_POSTMASTER_FILE', SB_INC_DIR.'postmaster.php');
  55. # ###################################################################################
  56. # SB_HTML_FACTORY_FILE points to the location of the HTML Factory class.
  57. # The class is not used consistently throughout SkyBlue but is available for
  58. # use so that HTML code is not imbedded in the PHP.
  59. # ###################################################################################
  60. sb_conf('SB_HTML_FACTORY_FILE', SB_INC_DIR.'factory.html.php');
  61. # ###################################################################################
  62. # SB_BUNDLE_FACTORY_FILE points to the location of the Bundle Factory class
  63. # file. All modules share certain characteristics in common so a Factory
  64. # Pattern was selected for constructing the output of Bundles.
  65. # ###################################################################################
  66. sb_conf('SB_BUNDLE_FACTORY_FILE', SB_INC_DIR.'factory.bundle.php');
  67. # ###################################################################################
  68. # SB_LOGIN_FILE points to the XML file where the login credentials for a
  69. # particular site are stored. Though the credentials are salted and
  70. # fingerprinted, HTACCESS rules should be used to prevent browser access
  71. # to this file.
  72. # ###################################################################################
  73. sb_conf('SB_LOGIN_FILE', SB_XML_DIR.'password.xml');
  74. # ###################################################################################
  75. # DEPRECATED.
  76. # SB_CONFIG_XML_FILE points to the location of configuration settings stored
  77. # in XML format. There may be some remnants of this method in some of the older
  78. # SkyBlueServer code. These remnants will be completely removed in the next
  79. # major version update after 16 Jan, 2007.
  80. # ###################################################################################
  81. sb_conf('SB_CONFIG_XML_FILE', SB_XML_DIR.'configuration.xml');
  82. # ###################################################################################
  83. # SB_RSS_FILE points to the RSS feed builder file.
  84. # ###################################################################################
  85. sb_conf('SB_RSS_FILE', 'rss/index.php');
  86. # ###################################################################################
  87. # SB_PAGE_FILE points to the XML file containting data about the pages in
  88. # a particular site.
  89. # ###################################################################################
  90. sb_conf('SB_PAGE_FILE', SB_XML_DIR.'page.xml');
  91. # ###################################################################################
  92. # SB_BUNDLE_FILE points to the XML file containting data about the bundles in
  93. # a particular site.
  94. # ###################################################################################
  95. sb_conf('SB_BUNDLE_FILE', SB_XML_DIR.'bundle.xml');
  96. # ###################################################################################
  97. # SB_META_GRP_FILE points to the XML file containting data about the meta
  98. # groups in a particular site.
  99. # ###################################################################################
  100. sb_conf('SB_META_GRP_FILE', SB_XML_DIR.'metagroups.xml');
  101. # ###################################################################################
  102. # SB_META_FILE points to the XML file containting data about the meta items in
  103. # a particular site.
  104. # ###################################################################################
  105. sb_conf('SB_META_FILE', SB_XML_DIR.'meta.xml');
  106. # ###################################################################################
  107. # DEPRECATED.
  108. # This feature is no longer being used.
  109. # ###################################################################################
  110. sb_conf('SB_MENU_GRP_FILE', SB_XML_DIR.'menus.xml');
  111. # ###################################################################################
  112. # SB_SKIN_FILE_PATH points to the form HTML file for the currently selected
  113. # Editor in the Manager currently in use. DO NOT EDIT this setting.
  114. # ###################################################################################
  115. sb_conf('SB_SKIN_FILE_PATH',
  116. SB_MANAGERS_DIR.'{objtype}/html/form.{objtype}.html');
  117. # ###################################################################################
  118. # SB_EDITOR_FORM_PATH is replacing SB_SKIN_FILE_PATH. This will be a gradual
  119. # replacement as all of the Managers are updated.
  120. # ###################################################################################
  121. sb_conf('SB_EDITOR_FORM_PATH', SB_MANAGERS_DIR.'{manager}/html/form.{objtype}.html');
  122. # ###################################################################################
  123. # SITE_ANALYTICS_FILE points to the text file where the base64 encoded analytics
  124. # script code is stored.
  125. # ###################################################################################
  126. sb_conf('SITE_ANALYTICS_FILE', SB_XML_DIR.'analytics.txt');
  127. # ###################################################################################
  128. # SB_STORY_XML_FILE points to the XML file containting story meta data in
  129. # a particular site.
  130. # ###################################################################################
  131. sb_conf('SB_STORY_XML_FILE', SB_XML_DIR.'story.xml');
  132. # ###################################################################################
  133. # SB_MENUS_FILE points to the XML file containting menu meta data for
  134. # a particular site.
  135. # ###################################################################################
  136. sb_conf('SB_MENUS_FILE', SB_XML_DIR.'menus.xml');
  137. # ###################################################################################
  138. # SB_MENU_BUILDER_FILE points to the location of the MenuBuilder class.
  139. # ###################################################################################
  140. sb_conf('SB_MENU_BUILDER_FILE', SB_INC_DIR.'menubuilder.php');
  141. # ###################################################################################
  142. # SB_ADMIN_SKIN_MAIN points to the location of the HTML Skin file for the
  143. # main Admin UI Dashboard page.
  144. # ###################################################################################
  145. sb_conf('SB_ADMIN_SKIN_MAIN', SB_ADMIN_SKINS_DIR.'skin.main.html');
  146. # ###################################################################################
  147. # SB_ADMIN_SKIN_INDEX points to the location of the HTML skin file for
  148. # SkyBlueServer Manager dashboards.
  149. # ###################################################################################
  150. sb_conf('SB_ADMIN_SKIN_INDEX', SB_ADMIN_SKINS_DIR.'skin.index.html');
  151. # ###################################################################################
  152. # SB_MANAGER_CLASS_FILE points to the location of the SkyBlueServer Manager
  153. # super-class file.
  154. # ###################################################################################
  155. sb_conf('SB_MANAGER_CLASS_FILE', SB_INC_DIR.'manager.class.php');
  156. # ###################################################################################
  157. # CAMERA_ICON_GIF points to the location of the camera.gif image file. This
  158. # image is used when an image that is referenced in the Admin UI cannot be
  159. # found in the location specified.
  160. # ###################################################################################
  161. sb_conf('CAMERA_ICON_GIF', SB_ADMIN_IMG_DIR.'camera.gif');
  162. sb_conf('SLUG_ICON_GIF', SB_ADMIN_IMG_DIR.'slug.gif');
  163. sb_conf('FILE_ICON_GIF', SB_ADMIN_IMG_DIR.'file.gif');
  164. # ###################################################################################
  165. # SKYBLUE_TEMPLATE_ENGINE points to the location of the SkyBlueCanvas skin
  166. # class file. This is the class that renders SkyBlueCanvas pages.
  167. # ###################################################################################
  168. sb_conf('SKYBLUE_TEMPLATE_ENGINE', SB_INC_DIR.'skin.class.php');
  169. # ###################################################################################
  170. # SKYBLUE_TEMPLATE_ENGINE points to the location of the SkyBlueCanvas skin
  171. # class file. This is the class that renders SkyBlueCanvas pages.
  172. # ###################################################################################
  173. sb_conf('SB_EMAIL_ERROR_LOG', SB_SITE_EMAIL_DIR.'error.mail.log');
  174. /*
  175. # ###################################################################################
  176. # SB_BB_CODER_FILE points to the location of the BBCoder file. The BBCoder is
  177. # the PHP class that converts the BBCode Tags into HTML Tags.
  178. # ###################################################################################
  179. sb_conf('SB_BB_CODER_FILE', SB_INC_DIR.'bbcoder.class.php');
  180. # ###################################################################################
  181. # SB_STATE_ABBR_MAP points to the location of the state abbreviation map.
  182. # The file maps state names to abbreviations.
  183. # ###################################################################################
  184. sb_conf('SB_STATE_ABBR_MAP', SB_PLUGIN_DIR.'states.abbr.php');
  185. # ###################################################################################
  186. # TOPLEVEL_DOMAINS_FILE points to the location of the top level domains library.
  187. # ###################################################################################
  188. sb_conf('TOPLEVEL_DOMAINS_FILE', SB_LIB_DIR.'lib.topleveldomains.php');
  189. */
  190. # ###################################################################################
  191. # SB_DEFAULT_SKIN_NAME tells SkyBlue which skin file to look for if the user skin
  192. # file is not found. This will only be used if the user's skin file is missing.
  193. # If this file is not found, SkyBlue will fall back on the value of
  194. # DEFAULT_HTML (configs/strings.const.php)
  195. # ###################################################################################
  196. sb_conf('SB_DEFAULT_SKIN_NAME', 'skin.default.html');
  197. ?>