Skip to content
Browse files

New Engine with bug Fixed

  • Loading branch information...
1 parent 55322db commit 04fbec4b7528659419e93b29a7bb5767452abb15 SystemOveride committed
Showing with 1 addition and 2 deletions.
  1. +1 −2 class/engine.php
View
3 class/engine.php
@@ -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.
Something went wrong with that request. Please try again.