<?xml version="1.0" encoding="UTF-8"?><rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
		>
<channel>
	<title>Comments on: The hassle with WP_CONTENT_URL and WP_PLUGIN_DIR</title>
	<atom:link href="http://alexrabe.de/2008/08/06/the-hassle-with-wp_content_url-and-wp_plugin_dir/feed/" rel="self" type="application/rss+xml" />
	<link>http://alexrabe.de/2008/08/06/the-hassle-with-wp_content_url-and-wp_plugin_dir/</link>
	<description>ALEX RABE &#124; learning by doing...</description>
	<lastBuildDate>Wed, 08 Feb 2012 16:33:11 +0000</lastBuildDate>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.3.1</generator>
<xhtml:meta xmlns:xhtml="http://www.w3.org/1999/xhtml" name="robots" content="noindex" />
	<item>
		<title>By: Jeremy</title>
		<link>http://alexrabe.de/2008/08/06/the-hassle-with-wp_content_url-and-wp_plugin_dir/#comment-22920</link>
		<dc:creator>Jeremy</dc:creator>
		<pubDate>Tue, 07 Feb 2012 01:12:35 +0000</pubDate>
		<guid isPermaLink="false">http://alexrabe.de/2008/08/06/the-hassle-with-wp_content_url-and-wp_plugin_dir/#comment-22920</guid>
		<description>So I found the problem...  I have to set $path to the ABSOLUTE server path... I wonder why this other cleaner version didn&#039;t work?</description>
		<content:encoded><![CDATA[<p>So I found the problem&#8230;  I have to set $path to the ABSOLUTE server path&#8230; I wonder why this other cleaner version didn&#8217;t work?</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Jeremy</title>
		<link>http://alexrabe.de/2008/08/06/the-hassle-with-wp_content_url-and-wp_plugin_dir/#comment-22919</link>
		<dc:creator>Jeremy</dc:creator>
		<pubDate>Tue, 07 Feb 2012 01:00:18 +0000</pubDate>
		<guid isPermaLink="false">http://alexrabe.de/2008/08/06/the-hassle-with-wp_content_url-and-wp_plugin_dir/#comment-22919</guid>
		<description>Oh yeah and for the record... I&#039;m not sure what I gain by having my directory structure organized this way.  I keep all of my project under version control from the root level (using git).  At least this way I&#039;m not putting WP code in my repository (it&#039;s managed as a submodule) and yes, it&#039;s a bit of a pain every time wordpress is updated... but this way keeps my code repository smaller and cleaner.  Other then that I&#039;ve not really run into TOO much hassle with other plugins.  Typically if it&#039;s a good plugin then you don&#039;t have problems, I only use good plugins ;) - like NextGen Gallery</description>
		<content:encoded><![CDATA[<p>Oh yeah and for the record&#8230; I&#8217;m not sure what I gain by having my directory structure organized this way.  I keep all of my project under version control from the root level (using git).  At least this way I&#8217;m not putting WP code in my repository (it&#8217;s managed as a submodule) and yes, it&#8217;s a bit of a pain every time wordpress is updated&#8230; but this way keeps my code repository smaller and cleaner.  Other then that I&#8217;ve not really run into TOO much hassle with other plugins.  Typically if it&#8217;s a good plugin then you don&#8217;t have problems, I only use good plugins <img src='http://alexrabe.de/wp-includes/images/smilies/icon_wink.gif' alt=';)' class='wp-smiley' />  &#8211; like NextGen Gallery</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Jeremy</title>
		<link>http://alexrabe.de/2008/08/06/the-hassle-with-wp_content_url-and-wp_plugin_dir/#comment-22917</link>
		<dc:creator>Jeremy</dc:creator>
		<pubDate>Tue, 07 Feb 2012 00:55:12 +0000</pubDate>
		<guid isPermaLink="false">http://alexrabe.de/2008/08/06/the-hassle-with-wp_content_url-and-wp_plugin_dir/#comment-22917</guid>
		<description>My file structure works like so:

.htaccess
/content (my wp-content folder as defined in the local-config.php)
index.php (Points to the boostrap in the wp folder)
local-config.php
/wp (clean subversion controled WP folder - nothing in here changes! [accept .htaccess sometimes])
wp-config.php

For some reason no matter what I do I can&#039;t get the flashuploader in the nextgen gallery plugin to upload.  my ngg_config.php looks like this:

Line 14: $path  = dirname(__FILE__) . &#039;/wp/&#039;; // It should be end with a trailing slash  

Uploading without the flash works fine - everything else works fine... but with flashuploader enabled I get a (no pun intended) flash of an error message saying it can&#039;t find wp-load.php.

Somehow the WordPress team handles this fine with their normal uploader... Why can&#039;t you use the same strategy?  Do you have any idea how I can fix this problem?

Thanks, Cheers,
-Jeremy</description>
		<content:encoded><![CDATA[<p>My file structure works like so:</p>
<p>.htaccess<br />
/content (my wp-content folder as defined in the local-config.php)<br />
index.php (Points to the boostrap in the wp folder)<br />
local-config.php<br />
/wp (clean subversion controled WP folder &#8211; nothing in here changes! [accept .htaccess sometimes])<br />
wp-config.php</p>
<p>For some reason no matter what I do I can&#8217;t get the flashuploader in the nextgen gallery plugin to upload.  my ngg_config.php looks like this:</p>
<p>Line 14: $path  = dirname(__FILE__) . &#8216;/wp/&#8217;; // It should be end with a trailing slash  </p>
<p>Uploading without the flash works fine &#8211; everything else works fine&#8230; but with flashuploader enabled I get a (no pun intended) flash of an error message saying it can&#8217;t find wp-load.php.</p>
<p>Somehow the WordPress team handles this fine with their normal uploader&#8230; Why can&#8217;t you use the same strategy?  Do you have any idea how I can fix this problem?</p>
<p>Thanks, Cheers,<br />
-Jeremy</p>
]]></content:encoded>
	</item>
</channel>
</rss>

