Download & Extend

Replacement for path_to_subtheme()

Project:Zen
Version:6.x-1.0-beta2
Component:PHP Code
Category:support request
Priority:normal
Assigned:Unassigned
Status:closed (fixed)

Issue Summary

In the D5 version there used to be a function path_to_subtheme(). This doesn't work in D6 anymore :( What would be the replacement?

Comments

#1

Component:Subtheme: Zen Classic» Code
Status:active» fixed

path_to_subtheme() isn't needed anymore because path_to_theme() properly returns the path to the active theme (even if it is a sub-theme).

So just use path_to_theme().

#2

Status:fixed» closed (fixed)

Automatically closed -- issue fixed for two weeks with no activity.

#3

Component:Code» PHP Code

Thanks John. It works.