File: fixes-path-to-templates-folder-in-php-web-admin

package info (click to toggle)
mlmmj 1.5.2-1
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid, trixie
  • size: 3,444 kB
  • sloc: ansic: 13,036; sh: 5,950; php: 1,336; perl: 904; makefile: 99
file content (14 lines) | stat: -rw-r--r-- 450 bytes parent folder | download | duplicates (6)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
Description: Fixes path to templates folder in the php web admin config.php
Author: Thomas Goirand <zigo@debian.org>
Forwarded: not-needed

--- mlmmj-1.2.18.0.orig/contrib/web/php-admin/conf/config.php
+++ mlmmj-1.2.18.0/contrib/web/php-admin/conf/config.php
@@ -2,6 +2,6 @@
 
 $topdir = "/var/spool/mlmmj";
 $confdir = dirname(__FILE__);
-$templatedir = dirname(dirname(__FILE__))."/templates";
+$templatedir = dirname(__FILE__)."/templates";
 
 ?>