Problem with mod_phocadownload_statistics_v1.0.0

Phoca Download - download manager
HosHi
Phoca Member
Phoca Member
Posts: 21
Joined: 06 Jun 2008, 23:07
Location: Dessau/Germany
Contact:

Problem with mod_phocadownload_statistics_v1.0.0

Post by HosHi »

Line 101 in the mod_phocadownload_statistics.php is bad, if the Admin folder via
htaccess file is locked.
original line:

Code: Select all

			$output .= '<div style="background:'.$colors[$color].' url(\''. 
JURI::base(true).'/administrator/components/com_phocadownload/assets/images/white-
space.png'.'\') '.$per.'px 0px no-repeat;width:'.$module_width_div.'px;padding:5px 
5px;margin:5px 0px;font-size:'.$font_size.'px">';
It is then always the htaccess consultation. (Username / password)

My solution:
The Asset Odner aud the Admin folder in the copy and the mod_phocadownload_statistics
Line to change.

Code: Select all

			$output .= '<div style="background:'.$colors[$color].' url(\''. 
JURI::base(true).'/modules/mod_phocadownload_statistics/assets/images/white-space.png'.'\') 
'.$per.'px 0px no-repeat;width:'.$module_width_div.'px;padding:5px 5px;margin:5px 0px;font-
size:'.$font_size.'px">';
User avatar
Jan
Phoca Hero
Phoca Hero
Posts: 48739
Joined: 10 Nov 2007, 18:23
Location: Czech Republic
Contact:

Re: Problem with mod_phocadownload_statistics_v1.0.0

Post by Jan »

Ok, thank you for this info, I will change it, so it takes the image from frontend.

Jan
If you find Phoca extensions useful, please support the project
Post Reply