Skip to content

Commit

Permalink
Merge pull request #92 from Worteks/smarty-local-conf
Browse files Browse the repository at this point in the history
Allow the Smarty path to be set in conf.inc.local.php
  • Loading branch information
coudot authored Jun 19, 2020
2 parents 62f118a + 2635635 commit 52b3c1d
Showing 1 changed file with 5 additions and 3 deletions.
8 changes: 5 additions & 3 deletions conf/config.inc.php
Original file line number Diff line number Diff line change
Expand Up @@ -168,12 +168,14 @@
# Debug mode
$debug = false;

# Smarty
define("SMARTY", "/usr/share/php/smarty3/Smarty.class.php");

# Allow to override current settings with local configuration
if (file_exists (dirname (__FILE__) . '/config.inc.local.php')) {
include dirname (__FILE__) . '/config.inc.local.php';
}

# Smarty
if (!defined("SMARTY")) {
define("SMARTY", "/usr/share/php/smarty3/Smarty.class.php");
}

?>

0 comments on commit 52b3c1d

Please # to comment.