Update config.php.template

pico-3.0-alpha
Daniel Rudolf 10 years ago
parent 70316eca87
commit 144939b978
  1. 47
      config/config.php.template

@ -1,18 +1,19 @@
<?php <?php
/** /**
* Pico Configuration * Pico configuration
* *
* This is the configuration file for Pico. It comes loaded with the * This is the configuration file for {@link Pico}. It comes loaded with the
* default values, which can be found in the get_config() method of * default values, which can be found in {@link Pico::getConfig()} (see
* the Pico class (lib/pico.php). * {@path "lib/Pico.php"}).
* *
* @author Gilbert Pellegrom * To override any of the default settings below, copy this file to
* @link http://picocms.org * {@path "config/config.php"}, uncomment the line and make and
* save your changes.
*
* @author Gilbert Pellegrom
* @link http://picocms.org
* @license http://opensource.org/licenses/MIT * @license http://opensource.org/licenses/MIT
* @version 0.9 * @version 0.9
*
* To override any of the default settings below, copy this file to
* `config.php`, uncomment the line and make and save your changes.
*/ */
/* /*
@ -20,35 +21,41 @@
*/ */
// $config['site_title'] = 'Pico'; // Site title // $config['site_title'] = 'Pico'; // Site title
// $config['base_url'] = ''; // Override base URL (e.g. http://example.com) // $config['base_url'] = ''; // Override base URL (e.g. http://example.com)
// $config['rewrite_url'] = null; // A boolean indicating forced URL rewriting
/* /*
* THEME * THEME
*/ */
// $config['theme'] = 'default'; // Set the theme (defaults to "default") // $config['theme'] = 'default'; // Set the theme (defaults to "default")
// $config['twig_config'] = array( // Twig settings // $config['twig_config'] = array( // Twig settings
// 'cache' => false, // To enable Twig caching change this to CACHE_DIR // 'cache' => false, // To enable Twig caching change this to CACHE_DIR
// 'autoescape' => false, // Autoescape Twig vars // 'autoescape' => false, // Autoescape Twig vars
// 'debug' => false // Enable Twig debug // 'debug' => false // Enable Twig debug
// ); // );
/* /*
* CONTENT * CONTENT
*/ */
// $config['date_format'] = '%D %T'; // Set the PHP date format as described here: http://php.net/manual/en/function.strftime.php // $config['date_format'] = '%D %T'; // Set the PHP date format as described here: http://php.net/manual/en/function.strftime.php
// $config['pages_order_by'] = 'alpha'; // Order pages by "alpha" or "date" // $config['pages_order_by'] = 'alpha'; // Order pages by "alpha" or "date"
// $config['pages_order'] = 'asc'; // Order pages "asc" or "desc" // $config['pages_order'] = 'asc'; // Order pages "asc" or "desc"
// $config['excerpt_length'] = 50; // The pages excerpt length (in words) // $config['content_dir'] = 'content-sample/'; // Content directory
// $config['content_dir'] = 'content-sample/'; // Content directory // $config['content_ext'] = '.md'; // File extension of content files to serve
/* /*
* TIMEZONE * TIMEZONE
*/ */
// date_default_timezone_set('UTC'); // Timezone may be reqired by your php install // $config['timezone'] = 'UTC'; // Timezone may be required by your php install
/*
* PLUGINS
*/
// $config['DummyPlugin.enabled'] = false; // Force DummyPlugin to be disabled
/* /*
* CUSTOM * CUSTOM
*/ */
// $config['custom_setting'] = 'Hello'; // Can be accessed by {{ config.custom_setting }} in a theme // $config['custom_setting'] = 'Hello'; // Can be accessed by {{ config.custom_setting }} in a theme
// Keep this line // DO NOT REMOVE THIS LINE
return $config; return $config;

Loading…
Cancel
Save