Installing Smarty

Discussion in 'Installation/Configuration' started by tristanlee85, Mar 2, 2007.

  1. tristanlee85

    tristanlee85 New Member

    On the Smarty web site, it says to install Smarty in the /usr/local/lib/php/Smarty/ directory. On my computer with Xampp, I have Smarty in /opt/lampp/lib/php/Smarty/. Where is a global place I can install Smarty in ISPconfig so I can call the class using include('Smarty.class.php'); instead of include('/usr/local/lib/php/Smarty/Smarty.class.php');
  2. jnsc

    jnsc rotaredoM Moderator

    As ISPConfig has his own PHP, you will have to look at the php of your distribution.

    But the easyest way is to have a look at you php include_path, by having a look at your php.ini, or by creating a phpinfo.

Share This Page