theme.php 1.5 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667
  1. <?php
  2. /**
  3. * Part of the Fuel framework.
  4. *
  5. * @package Fuel
  6. * @version 1.5
  7. * @author Fuel Development Team
  8. * @license MIT License
  9. * @copyright 2010 - 2013 Fuel Development Team
  10. * @link http://fuelphp.com
  11. */
  12. /**
  13. * NOTICE:
  14. *
  15. * If you need to make modifications to the default configuration, copy
  16. * this file to your app/config folder, and make them in there.
  17. *
  18. * This will allow you to upgrade fuel without losing your custom config.
  19. */
  20. return array(
  21. /**
  22. * The active theme to use. This can also be set in code using Theme::active('foo');
  23. */
  24. 'active' => 'default',
  25. /**
  26. * The fallback theme to use. If a view is not found in the active theme, this theme
  27. * is used as a fallback. This can also be set in code using Theme::fallback('foo');
  28. */
  29. 'fallback' => 'default',
  30. /**
  31. * The theme search paths. They are searched in the order given. You can add paths
  32. * on the fly via Theme::add_path($path) or Theme::add_paths(array($path1, $path2));
  33. */
  34. 'paths' => array(
  35. DOCROOT.'themes',
  36. ),
  37. /**
  38. * The folder inside the theme to be used to store assets. This is relative to the
  39. * theme's path.
  40. */
  41. 'assets_folder' => 'assets',
  42. /**
  43. * The extension for theme view files.
  44. */
  45. 'view_ext' => '.html',
  46. /**
  47. * Whether to require a theme info file
  48. */
  49. 'require_info_file' => false,
  50. /**
  51. * The theme info file name
  52. */
  53. 'info_file_name' => 'themeinfo.php',
  54. /**
  55. * Use auto prefixing for modules
  56. */
  57. 'use_modules' => false,
  58. );