Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

New Engine with bug Fixed

  • Loading branch information...
commit 04fbec4b7528659419e93b29a7bb5767452abb15 1 parent 55322db
SystemOveride authored
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){
Please sign in to comment.
Something went wrong with that request. Please try again.