Guest User

Untitled

a guest
Dec 16th, 2018
233
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 10.67 KB | None | 0 0
  1. <?php if ( ! defined('BASEPATH')) exit('No direct script access allowed');
  2.  
  3. $config['auth.use_extended_profile'] = 0;
  4. /*
  5. Copyright (c) 2011 Lonnie Ezell
  6.  
  7. Permission is hereby granted, free of charge, to any person obtaining a copy
  8. of this software and associated documentation files (the "Software"), to deal
  9. in the Software without restriction, including without limitation the rights
  10. to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
  11. copies of the Software, and to permit persons to whom the Software is
  12. furnished to do so, subject to the following conditions:
  13.  
  14. The above copyright notice and this permission notice shall be included in
  15. all copies or substantial portions of the Software.
  16.  
  17. THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
  18. IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
  19. FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
  20. AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
  21. LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
  22. OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
  23. THE SOFTWARE.
  24. */
  25.  
  26. $config['site.title'] = "";
  27. $config['site.system_email'] = "";
  28. $config['site.status'] = 1; // 0 = offline, 1 = online
  29. $config['site.list_limit'] = 25;
  30.  
  31. //--------------------------------------------------------------------
  32. // !For Update messages
  33. //--------------------------------------------------------------------
  34.  
  35. $config['updates.do_check'] = 1; // Whether to check for updates or not.
  36. $config['updates.bleeding_edge'] = 1; // Show update message when new commits exist?
  37. $config['updates.last_commit'] = ''; // Stores the last installed commit ref
  38.  
  39. //--------------------------------------------------------------------
  40. // !BACKUPS
  41. //--------------------------------------------------------------------
  42. //
  43. // A folder that all backup files will be written to. This should be
  44. // relative APPPATH. This is primarily used by MY_Config when writing
  45. // new files.
  46. //
  47. $config['site.backup_folder'] = 'archives/';
  48.  
  49. //--------------------------------------------------------------------
  50. // !CONTEXTS
  51. //--------------------------------------------------------------------
  52.  
  53. /*
  54. Contexts provide the main sections of the admin area. Only two are
  55. required: 'settings' and 'developer'.
  56.  
  57. The name of the context displayed in the UI is determined by
  58. language strings as defined in application_lang.php. The string
  59. must follow the format: context_content_name.
  60.  
  61. The icon displayed is chosen automatically from the
  62. theme/images/context_context_name.png files.
  63. */
  64. $config['contexts'] = array( 'content', 'reports', 'settings', 'developer' );
  65.  
  66.  
  67. //--------------------------------------------------------------------
  68. // !TEMPLATE
  69. //--------------------------------------------------------------------
  70.  
  71. /*
  72. |--------------------------------------------------------------------
  73. | SITE PATH
  74. |--------------------------------------------------------------------
  75. | The path to the root folder that holds the application. This does
  76. | not have to be the site root folder, or even the folder defined in
  77. | FCPATH.
  78. |
  79. */
  80. $config['template.site_path'] = FCPATH;
  81.  
  82. /*
  83. |---------------------------------------------------------------------
  84. | THEME PATHS
  85. |---------------------------------------------------------------------
  86. | An array of folders to look in for themes. There must be at least
  87. | one folder path at all times, to serve as the fall-back for when
  88. | a theme isn't found. Paths are relative to the FCPATH.
  89. */
  90. $config['template.theme_paths'] = array('bonfire/themes');
  91.  
  92. /*
  93. |--------------------------------------------------------------------
  94. | DEFAULT LAYOUT
  95. |--------------------------------------------------------------------
  96. | This is the name of the default layout used if no others are
  97. | specified.
  98. |
  99. | NOTE: do not include an ending ".php" extension.
  100. |
  101. */
  102. $config['template.default_layout'] = "index";
  103.  
  104. /*
  105. |--------------------------------------------------------------------
  106. | DEFAULT AJAX LAYOUT
  107. |--------------------------------------------------------------------
  108. | This is the name of the default layout used when the page is
  109. | displayed via an AJAX call.
  110. |
  111. | NOTE: do not include an ending ".php" extension.
  112. |
  113. */
  114. $config['template.ajax_layout'] = 'ajax';
  115.  
  116. /*
  117. |--------------------------------------------------------------------
  118. | USE THEMES?
  119. |--------------------------------------------------------------------
  120. | When set to TRUE, Ocular will check the user agent during the
  121. | render process, and check the UA against the template.themes (below),
  122. | allowing you to create mobile versions of your site, and version
  123. | targetted specifically at a single type of phone (ie, Blackberry or
  124. | iPhone).
  125. |
  126. | Note, that, when rendering, if the file doesn't exist in the
  127. | targetted theme, Ocular then checks the default site for the same file.
  128. |
  129. */
  130. $config['template.use_mobile_themes'] = FALSE;
  131.  
  132.  
  133. /*
  134. |--------------------------------------------------------------------
  135. | DEFAULT THEME
  136. |--------------------------------------------------------------------
  137. | This is the folder name that contains the default theme to use
  138. | when 'template.use_mobile_themes' is set to TRUE.
  139. |
  140. */
  141. $config['template.default_theme'] = 'default/';
  142.  
  143. /*
  144. |--------------------------------------------------------------------
  145. | ADMIN THEME
  146. |--------------------------------------------------------------------
  147. | This is the folder name that contains the default admin theme to use
  148. |
  149. */
  150. $config['template.admin_theme'] = 'admin';
  151.  
  152. /*
  153. |--------------------------------------------------------------------
  154. | PARSE VIEWS
  155. |--------------------------------------------------------------------
  156. | If set to TRUE, views will be parsed via CodeIgniter's parser.
  157. | If FALSE, views will be considered PHP views only.
  158. |
  159. */
  160. $config['template.parse_views'] = FALSE;
  161.  
  162. /*
  163. |--------------------------------------------------------------------
  164. | MESSAGE TEMPLATE
  165. |--------------------------------------------------------------------
  166. | This is the template that Ocular will use when displaying messages
  167. | through the message() function.
  168. |
  169. | To set the class for the type of message (error, success, etc),
  170. | the {type} placeholder will be replaced. The message will replace
  171. | the {message} placeholder.
  172. |
  173. */
  174. $config['template.message_template'] =<<<EOD
  175. <div class="alert alert-block alert-{type} fade in notification">
  176. <a data-dismiss="alert" class="close" href="#">&times;</a>
  177. <div>{message}</div>
  178. </div>
  179. EOD;
  180.  
  181. /*
  182. |--------------------------------------------------------------------
  183. | BREADCRUMB Separator
  184. |--------------------------------------------------------------------
  185. | The symbol displayed between elements of the breadcrumb.
  186. |
  187. */
  188. $config['template.breadcrumb_symbol'] = ' : ';
  189.  
  190.  
  191. //--------------------------------------------------------------------
  192. // !ASSETS
  193. //--------------------------------------------------------------------
  194. /*
  195. The base folder (relative to the template.site_root config setting)
  196. that all of the assets are stored in. This is used to generate both
  197. the url and the relative file path.
  198.  
  199. This should NOT include the trailing slash.
  200. */
  201. $config['assets.base_folder'] = 'assets';
  202.  
  203. /*
  204. The names of the folders for the various assets.
  205. These default to 'js', 'css', and 'images'. These folders
  206. are expected to be found directly under the 'assets.base_folder'.
  207.  
  208. While searching through themes, these names are also used to
  209. build alternate folders to look into, under the theme folders.
  210. */
  211. $config['assets.asset_folders'] = array(
  212. 'css' => 'css',
  213. 'js' => 'js',
  214. 'image' => 'images'
  215. );
  216.  
  217. /*
  218. The 'assets.js_opener' and 'assets.js_closer' strings are used
  219. to wrap all of your inline scripts into. By default, it is
  220. setup to work with jQuery.
  221. */
  222. $config['assets.js_opener'] = '$(document).ready(function(){'. "\n";
  223. $config['assets.js_closer'] = '});'. "\n";
  224.  
  225. /*
  226. The 'assets.js_combine' and 'assets.css_combine' settings tell the Asset library whether
  227. js and css files, respectively, should be combined or not.
  228. */
  229. $config['assets.js_combine'] = FALSE;
  230. $config['assets.css_combine'] = FALSE;
  231.  
  232. /*
  233. The 'assets.encrypt' setting will mask the app structure
  234. by encrypting the filename of the combined files.
  235.  
  236. If false the filename would be in the format...
  237. theme_module_controller_method
  238. If true, it would be an md5 hash of the above filename.
  239. */
  240. $config['assets.encrypt_name'] = FALSE;
  241.  
  242. /*
  243. The 'assets.js_minify' and 'assets.css_minify' settings are used to
  244. tell the ui loader to minify the combined assets or not
  245. */
  246. $config['assets.js_minify'] = FALSE;
  247. $config['assets.css_minify'] = FALSE;
  248.  
  249. /*
  250. The 'assets.encode' setting is used to specify whether the assets should
  251. be encoded based on the HTTP_ACCEPT_ENCODING value.
  252. */
  253. $config['assets.encode'] = FALSE;
  254.  
  255. //--------------------------------------------------------------------
  256. // !Shortcut Keys
  257. //--------------------------------------------------------------------
  258.  
  259. /*
  260. Array containing the currently available shortcuts - these are output in the /ui/views/shortcut_keys file
  261. */
  262. $config['ui.current_shortcuts'] = array(
  263. 'form_save' => array('description' => 'Save any form in the admin area.', 'action' => '$("input[name=submit]").click();return false;'),
  264. 'create_new' => array('description' => 'Create a new record in the module.', 'action' => 'document.location=$("a#create_new").attr("href");'),
  265. 'select_all' => array('description' => 'Select all records in an index page.', 'action' => '$("table input[type=checkbox]").click();return false;'),
  266. 'delete' => array('description' => 'Delete the record(s).', 'action' => '$("#delete-me.btn-danger").click();'),
  267. 'module_index' => array('description' => 'Return to the index of the current module.', 'action' => 'document.location=$("a#list").attr("href");'),
  268. 'goto_content' => array('description' => 'Jump to the Content context.', 'action' => "document.location='/" . SITE_AREA . "/content';"),
  269. 'goto_reports' => array('description' => 'Jump to the Reports context.', 'action' => "document.location='/" . SITE_AREA . "/reports';"),
  270. 'goto_settings' => array('description' => 'Jump to the Settings context.', 'action' => "document.location='/" . SITE_AREA . "/settings';"),
  271. );
  272.  
  273. //--------------------------------------------------------------------
  274. // !Emailer
  275. //--------------------------------------------------------------------
  276. /*
  277. Setting this option to true writes email content to a local file in the log path for debugging
  278. using 'development' environments without sendmail such as Windows Desktop servers like WAMP.
  279. */
  280. $config['emailer.write_to_file'] = false;
  281.  
  282. //--------------------------------------------------------------------
  283. // !Migrations
  284. //--------------------------------------------------------------------
  285. $config['migrate.auto_core'] = TRUE;
  286. $config['migrate.auto_app'] = FALSE;
Add Comment
Please, Sign In to add comment