All, I'm using the Uploadify plugin to upload some images. I've included the uploadify folder in my themes folder. However, when I try and call uploadify.php I get the following error:
Call to undefined function wp_upload_dir()
My code looks like this:
global $cssPath, $jsPath, $themePath, $theLayout;
$upload_dir = wp_upload_dir();
echo $upload_dir['path'];
Any idea how I can use this properly? Thanks for any suggestions in advance!