Browse Source

Update config.php.template

Daniel Rudolf 10 years ago
parent
commit
144939b978
1 changed files with 27 additions and 20 deletions
  1. 27 20
      config/config.php.template

+ 27 - 20
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
- *  default values, which can be found in the get_config() method of
- *  the Pico class (lib/pico.php).
+ * This is the configuration file for {@link Pico}. It comes loaded with the
+ * default values, which can be found in {@link Pico::getConfig()} (see
+ * {@path "lib/Pico.php"}).
  *
  *
- * @author Gilbert Pellegrom
- * @link http://picocms.org
+ * To override any of the default settings below, copy this file to
+ * {@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
-//	'autoescape' => false,                      // Autoescape Twig vars
-//	'debug' => false                            // Enable Twig debug
+//     'cache' => false,                        // To enable Twig caching change this to CACHE_DIR
+//     'autoescape' => false,                   // Autoescape Twig vars
+//     '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['pages_order_by'] = 'alpha';           // Order pages by "alpha" or "date"
-// $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['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'] = 'asc';              // Order pages "asc" or "desc"
+// $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;