Permalink
Browse files

New Engine with bug Fixed

  • Loading branch information...
SystemOveride
SystemOveride committed May 1, 2012
1 parent 55322db commit 04fbec4b7528659419e93b29a7bb5767452abb15
Showing with 1 addition and 2 deletions.
  1. +1 −2 class/engine.php
View
@@ -5,7 +5,6 @@
# (Lando rules) #
######################31
-require '../config.php';
require_once 'db.php';
class Engine extends MySQL {
@@ -47,7 +46,7 @@ public function setquery($qs){
/* Template */
private function load_template($template){
$this->tname = $template;
- ($tmpl = file_get_contents($template)) or die("Impossibile caricare il template '$template`");
+ ($tmpl = file_get_contents("template/".$template)) or die("Impossibile caricare il template '$template`");
return $tmpl;
}
private function has_placeholder($name){

0 comments on commit 04fbec4

Please sign in to comment.