WordPress.org

Ready to get started?Download WordPress

Forums

wordpress generates (/) for PATH in windows (1 post)

  1. charlesolaes
    Member
    Posted 3 years ago #

    when trying to get the PATH to a template or plugin wordpress generates the PATH with different slashes for windows ex: `$theme = get_theme('theme');
    echo $theme['Theme Root']; //returns C:\var\www\site\wordpress/wp_content/themes/`

    Is there away around this or do I have to use another OS or do I have to use some built in PHP function to manually replace each (\)?

Topic Closed

This topic has been closed to new replies.

About this Topic

Tags