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

package info (click to toggle)
mlmmj 1.3.0-4
  • links: PTS, VCS
  • area: main
  • in suites: bookworm, bullseye, sid, trixie
  • size: 2,784 kB
  • sloc: ansic: 13,308; sh: 1,709; php: 1,133; perl: 904; python: 190; makefile: 184
file content (14 lines) | stat: -rw-r--r-- 450 bytes parent folder | download | duplicates (5)
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";
 
 ?>