CMS MADE SIMPLE FORGE

Uploads

 

[#12095] $entry->iconurl variable has full linux path!

avatar
Created By: Darren Kierman (kierweb)
Date Submitted: Tue Aug 06 05:54:53 -0400 2019

Assigned To: Robert Campbell (calguy1000)
Version: 1.26
CMSMS Version: 2.2.10
Severity: Major
Resolution: Fixed
State: Open
Summary:
$entry->iconurl variable has full linux path!
Detailed Description:
$entry->iconurl has linux full path  (not url)

e.g. /home/houghton/public_html/modules/Uploads/images/pdf.png   
It should be /modules/Uploads/images/pdf.png  


History

Comments
avatar
Date: 2019-08-06 06:13
Posted By: Darren Kierman (kierweb)

Within action.default.php ...

$imgpath = $this->GetModulePath().'/images/';

needs changed to ...

$imgpath = $this->GetModuleURLPath().'/images/';
      
avatar
Date: 2019-08-06 16:10
Posted By: Robert Campbell (calguy1000)

fixed in svn
      
Updates

Updated: 2019-08-06 16:10
resolution_id: => 7