Developer
Supported
Developer
ExpressionEngine 2
Back to this add-on's main page
View Other Add-ons From PutYourLightsOn
404 error for png when using custom theme_folder_url
Bug (Resolved)
Dennis Frank
|
Posted: 01 October 2015 02:47 PM |
|
|
|
In acc.developer.php line 365 some styles are getting injecting into the page:
#developer_acc li.subparent {background: url(/themes/cp_themes/default/images/nav_arrow_light.png) center right no-repeat;}
This results in a 404 when you are using a custom theme_folder_url.
Quick fix:
Modify the unused variable $theme_folder_url in line 50 from
$theme_folder_url = $this->EE->config->slash_item('theme_folder_url').'third_party/developer/';
to
$theme_folder_url = $this->EE->config->slash_item('theme_folder_url');
and use it for the styles:
#developer_acc li.subparent {background: url(' . $theme_folder_url . 'cp_themes/default/images/nav_arrow_light.png) center right no-repeat;}
|
|
|
PutYourLightsOn
|
Posted: 02 October 2015 09:56 AM |
# 1
|
|
Developer
|
Ah, good catch - I just pushed version 1.7.4 which fixes this.
|
|
|