diff --git a/htdocs/index.php b/htdocs/index.php
index 140696e639831ed06eb02ce9f9ade97348d041f5..304aad4726540afcf60ea4839a4e29062127c032 100644
--- a/htdocs/index.php
+++ b/htdocs/index.php
@@ -28,7 +28,7 @@ require("../lib/error.php");
 
 
 // Include the Smarty templating engine
-require(SMARTY_PATH."Smarty.class.php");
+require(SMARTY_DIR."Smarty.class.php");
 $smarty = new Smarty;
 $smarty->template_dir = SUCS_BASEDIR."templates";
 $smarty->compile_dir = SUCS_BASEDIR."templates_c";