config.php.template 1.7 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051
  1. <?php
  2. /**
  3. * Pico Configuration
  4. *
  5. * This is the configuration file for Pico. It comes loaded with the
  6. * default values, which can be found in the get_config() method of
  7. * the Pico class (lib/pico.php).
  8. *
  9. * @author Gilbert Pellegrom
  10. * @link http://picocms.org
  11. * @license http://opensource.org/licenses/MIT
  12. * @version 0.9
  13. *
  14. * To override any of the default settings below, uncomment the line,
  15. * make and save the changes, then rename this file to `config.php`
  16. */
  17. /*
  18. * BASIC
  19. */
  20. // $config['site_title'] = 'Pico'; // Site title
  21. // $config['base_url'] = ''; // Override base URL (e.g. http://example.com)
  22. /*
  23. * THEME
  24. */
  25. // $config['theme'] = 'default'; // Set the theme (defaults to "default")
  26. // $config['twig_config'] = array( // Twig settings
  27. // 'cache' => false, // To enable Twig caching change this to CACHE_DIR
  28. // 'autoescape' => false, // Autoescape Twig vars
  29. // 'debug' => false // Enable Twig debug
  30. // );
  31. /*
  32. * CONTENT
  33. */
  34. // $config['date_format'] = 'jS M Y'; // Set the PHP date format as described here: http://php.net/manual/en/function.strftime.php
  35. // $config['pages_order_by'] = 'alpha'; // Order pages by "alpha" or "date"
  36. // $config['pages_order'] = 'asc'; // Order pages "asc" or "desc"
  37. // $config['excerpt_length'] = 50; // The pages excerpt length (in words)
  38. // $config['content_dir'] = 'content-sample/'; // Content directory
  39. /*
  40. * TIMEZONE
  41. */
  42. // date_default_timezone_set('UTC'); // Timezone may be reqired by your php install
  43. /*
  44. * CUSTOM
  45. */
  46. // $config['custom_setting'] = 'Hello'; // Can be accessed by {{ config.custom_setting }} in a theme