Merge lp:~edb/quam-plures/fix_item_css into lp:quam-plures
Proposed by
EdB
Status: | Merged |
---|---|
Merged at revision: | 7596 |
Proposed branch: | lp:~edb/quam-plures/fix_item_css |
Merge into: | lp:quam-plures |
Diff against target: |
53 lines (+12/-14) 2 files modified
qp_inc/items/items.ctrl.php (+5/-7) qp_plugins/tinymce_plugin/_tinymce.plugin.php (+7/-7) |
To merge this branch: | bzr merge lp:~edb/quam-plures/fix_item_css |
Related bugs: |
Reviewer | Review Type | Date Requested | Status |
---|---|---|---|
Yabs (community) | Approve | ||
EdB | Needs Resubmitting | ||
Tilman Blumenbach (community) | Needs Fixing | ||
Review via email: mp+46436@code.launchpad.net |
Description of the change
http://
To post a comment you must log in.
You should use $templates_path instead of $template_url when building the path for is_file() -- the latter may work for you, but it only does because allow_url_fopen is enabled. If it is disabled (as it should be!), your code does not work.
It makes more sense to check the local filesystem instead of an URL, anyway. :-)