Skip to content

Commit

Permalink
Fixed merge errors
Browse files Browse the repository at this point in the history
  • Loading branch information
troelskn committed Dec 25, 2010
1 parent bec347b commit fbb4cbb
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion bin/phrocco
@@ -1,7 +1,7 @@
#!/usr/bin/env php
<?php

require_once dirname(__DIR__) . '/phrocco.php';
require_once dirname(dirname(__FILE__)) . '/phrocco.php';
ini_set("error_reporting",247);

if (count($argv)>1) {
Expand Down
4 changes: 2 additions & 2 deletions phrocco.php
Expand Up @@ -27,8 +27,8 @@ public function parse() {
public function render() {
ob_start();
$this->parse();
$view_file = __DIR__."/lib/template/layout.html";
$this->style = file_get_contents(__DIR__."/lib/template/layout.css");
$view_file = dirname(__FILE__)."/lib/template/layout.html";
$this->style = file_get_contents(dirname(__FILE__)."/lib/template/layout.css");
extract((array)$this);

if(!is_readable($view_file)) throw new Exception("Unable to find Template File");
Expand Down

0 comments on commit fbb4cbb

Please sign in to comment.