Closed (fixed)
Project:
Skinr
Version:
6.x-2.x-dev
Component:
Code
Priority:
Critical
Category:
Bug report
Assigned:
Reporter:
Created:
26 Jun 2010 at 14:12 UTC
Updated:
7 Sep 2010 at 08:10 UTC
In the current 1.x-dev, the _skinr_add_file creates wrong filepaths, as $filename is reused in the foreach.
Especially this is a problem, when a subtheme adds new scripts, so the path will built like sites/all/themes/bastheme/sites/all/themes/subtheme.
There is a patch attached, that uses a separate $file variable, that builds in the foreach. This fixes the bug.
| Comment | File | Size | Author |
|---|---|---|---|
| skinr-_skinr_add_file.patch | 956 bytes | derhasi |
Comments
Comment #1
smk-ka commentedConfirming, the generated filenames when working with a subtheme look like this:
Patch works as advertised.
Comment #2
jacineThank you Johannes & Stefan! :D
Committed!
I'm not sure if this is a problem in the 6.x-2.x branch, so I'm going to keep this open in that queue until someone can check it out.
Comment #3
jacineComment #4
moonray commentedThis is not an issue in the 2.x branch.