Setting up a captive portal - Smarty Template Engine

From JoatWiki
Jump to: navigation, search

What is the Smarty Template Engine?

Smarty is a template engine for PHP. It is also a prerequisite for WiFiDog.

Installing the Smarty Template Engine

Installation is simple. Run "urpmi php-smarty". The output of that command should look something like what's below.

Output of "urpmi php-smarty"

[root@gateway wifidog-auth]# urpmi php-smarty

    http://ftp.ussg.iu.edu/linux/mandrake/official/2007.1/i586/media/main/release/php-smarty-2.6.17-1mdv2007.1.noarch.rpm
installing php-smarty-2.6.17-1mdv2007.1.noarch.rpm from /var/cache/urpmi/rpms  
Preparing...                     #############################################
      1/1: php-smarty            #############################################
[root@gateway wifidog-auth]#



Back to "Setting up a captive portal"

Personal tools