Permalink
Browse files

Remove requirement of config file

  • Loading branch information...
1 parent 4baf92d commit 2358a2ec10d3b673c434efc8d17e1436f89101a1 @qix qix committed Mar 12, 2012
Showing with 1 addition and 9 deletions.
  1. +0 −8 components/view/markdown.php
  2. +1 −1 init.php
@@ -3,14 +3,6 @@ class View_Markdown extends View {
function render() {
$extra = $this->extra;
- // Short-circuit cached htm versions
- if (Config::get('server', 'mode') == 'production') {
- if (file_exists(substr($this->path, 0, -4).'.htm')) {
- echo file_get_contents(substr($this->path, 0, -4).'.htm');
- return;
- }
- }
-
// Try load the menu
$menu_dir = dirname($this->path);
$menus = array();
View
@@ -3,4 +3,4 @@
Autoload::addPath(__DIR__.'/layout', array('_'), True, 'layout');
Autoload::addPath(__DIR__.'/components');
-Config::write(parse_ini_file(__DIR__.'/config.ini', true));
+//Config::write(parse_ini_file(__DIR__.'/config.ini', true));

0 comments on commit 2358a2e

Please sign in to comment.