Forums

PHP templatepath (1 post)

  1. De Murph
    Member
    Posted 1 year ago #

    Hi,

    I guess this is a basic Apache/PHP question, but here goes anyway:

    I'm trying to define a path to a file that is a few folders lower than my template directory (defined by TEMPLATEPATH).

    So, let's say templatepath returns:
    "dir1/dir2/mydomain.com/wordpress/wp-content/themes/"

    From there on, I would like to go a few steps back and access a subdomain:
    "dir1/dir2/subdomain.mydomain.com/"

    Any hints/tips are welcome.

    Thank you!

Topic Closed

This topic has been closed to new replies.

About this Topic