-<?php if (!defined('BASEPATH')) exit('No direct script access allowed');
-
-//smarty class in PLD-specific path
-require "/usr/share/php/Smarty.class.php";
-
-//system/application/libraries/smarty_tpl.php
-class smarty_tpl extends Smarty{
-
- function smarty_tpl(){
+<?php
+
+defined('BASEPATH') or die('No direct script access allowed');
+
+// load smarty class
+require 'Smarty/Smarty.class.php';
+
+// system/application/libraries/smarty_tpl.php
+class smarty_tpl extends Smarty {
+ function smarty_tpl() {