aboutsummaryrefslogtreecommitdiffstats
path: root/config/lightsquid/lightsquid.inc
diff options
context:
space:
mode:
authorRenato Botelho <garga@FreeBSD.org>2015-04-27 12:59:17 -0300
committerRenato Botelho <garga@FreeBSD.org>2015-04-27 12:59:17 -0300
commit859a5ba4e341d4ed7c7051b0ce5fce92be212e02 (patch)
tree1555317820072790436d550ad9f5bf0575c33f67 /config/lightsquid/lightsquid.inc
parent7a4ab0bd9e8fa424eeafa6c76677d324df4cd6d2 (diff)
downloadpfsense-packages-859a5ba4e341d4ed7c7051b0ce5fce92be212e02.tar.gz
pfsense-packages-859a5ba4e341d4ed7c7051b0ce5fce92be212e02.tar.bz2
pfsense-packages-859a5ba4e341d4ed7c7051b0ce5fce92be212e02.zip
Stop downloading templates tarball and add each file as additional_files_needed
Diffstat (limited to 'config/lightsquid/lightsquid.inc')
-rw-r--r--config/lightsquid/lightsquid.inc9
1 files changed, 1 insertions, 8 deletions
diff --git a/config/lightsquid/lightsquid.inc b/config/lightsquid/lightsquid.inc
index 9e51913f..c505b401 100644
--- a/config/lightsquid/lightsquid.inc
+++ b/config/lightsquid/lightsquid.inc
@@ -63,7 +63,7 @@ define('LS_CONFIGPATH', LIGHTSQUID_BASE . '/etc/lightsquid');
define('LS_CONFIGFILE', 'lightsquid.cfg');
define('LS_CONFIGFILE_DIST', 'lightsquid.cfg.dist');
define('LS_WWWPATH', LIGHTSQUID_BASE . '/www/lightsquid');
-define('LS_TEMPLATEPATH', LIGHTSQUID_BASE . '/www/lightsquid/tpl');
+define('LS_TEMPLATEPATH', '/usr/local/www/lightsquid/tpl');
define('LS_LANGPATH', LIGHTSQUID_BASE . '/share/lightsquid/lang');
define('LS_REPORTPATH', '/var/lightsquid/report');
@@ -123,13 +123,6 @@ function lightsquid_install() {
mwexec("/bin/mkdir -p " . LS_REPORTPATH);
}
- // install templates
- $lstpl_file = "/var/tmp/lightsquid_tpl.tbz";
- if (file_exists($lstpl_file)) {
- mwexec("/usr/bin/tar zxvf $lstpl_file -C " . LS_TEMPLATEPATH);
- update_log("lightsquid_install: Install templates from $lstpl_file");
- }
-
# check perl
$perl_path = '/usr/bin/perl';