From b27ac7863d4966fddf7d009614f4a6a291c57ff2 Mon Sep 17 00:00:00 2001 From: Renato Botelho Date: Wed, 1 Jul 2015 10:20:05 -0300 Subject: Stop using undefined variable and create a single package debug file --- etc/inc/pkg-utils.inc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'etc/inc/pkg-utils.inc') diff --git a/etc/inc/pkg-utils.inc b/etc/inc/pkg-utils.inc index 7bdde3f..eaa65fa 100644 --- a/etc/inc/pkg-utils.inc +++ b/etc/inc/pkg-utils.inc @@ -60,7 +60,7 @@ if (!function_exists("pkg_debug")) { } if (!$fd_log) { - if (!$fd_log = fopen("{$g['tmp_path']}/pkg_mgr_{$package}.log", "w")) { + if (!$fd_log = fopen("{$g['tmp_path']}/pkg_mgr_debug.log", "w")) { update_output_window("Warning, could not open log for writing."); } } -- cgit v1.1