<?xml version="1.0" encoding="utf-8"?>
<rss version="2.0"><channel><title>Disqus - Latest Comments for joren</title><link>http://disqus.com/people/2d24981cd78767d9a0830dfaf0878d76/</link><description></description><language>en</language><lastBuildDate>Wed, 25 Jul 2007 17:25:39 -0000</lastBuildDate><item><title>Re: CakePHP Install: Multiple Subdirectories &amp;#038; 500 Error</title><link>http://ninjavspenguin.disqus.com/cakephp_install_multiple_subdirectories_038_500_error/#comment-1354746</link><description>hey thanks alot for the help to start, i have made some modifications that might help alot of people ..&lt;br&gt;&lt;br&gt;these small modifications will save you lots of works!!&lt;br&gt;&lt;br&gt;what they do are the following :&lt;br&gt;generate on-the-fly the ROOT-location and more!!!&lt;br&gt;&lt;br&gt;i have tested it and i loved it myself :)&lt;br&gt;&lt;br&gt;===========================&lt;br&gt;&lt;br&gt;so what you need to do is, open the original /app/webroot/index.php&lt;br&gt;go to line 41 and replace the following lines with the original!&lt;br&gt;&lt;br&gt;&lt;br&gt;	chdir("../../");&lt;br&gt;	$root = getcwd();&lt;br&gt; &lt;br&gt;	if (!defined('ROOT')) {&lt;br&gt;		//define('ROOT', 'FULL PATH TO DIRECTORY WHERE APP DIRECTORY IS LOCATED DO NOT ADD A TRAILING DIRECTORY SEPARATOR';&lt;br&gt;		//You should also use the DS define to seperate your directories&lt;br&gt;		define('ROOT', $root.DS.'apps');&lt;br&gt;	}&lt;br&gt;	if (!defined('APP_DIR')) {&lt;br&gt;		//define('APP_DIR', 'DIRECTORY NAME OF APPLICATION';&lt;br&gt;		define('APP_DIR', basename(dirname(__FILE__)));&lt;br&gt;	}&lt;br&gt;/**&lt;br&gt; * This only needs to be changed if the cake installed libs are located&lt;br&gt; * outside of the distributed directory structure.&lt;br&gt; */&lt;br&gt;	if (!defined('CAKE_CORE_INCLUDE_PATH')) {&lt;br&gt;		//define ('CAKE_CORE_INCLUDE_PATH', FULL PATH TO DIRECTORY WHERE CAKE CORE IS INSTALLED DO NOT ADD A TRAILING DIRECTORY SEPARATOR';&lt;br&gt;		//You should also use the DS define to seperate your directories&lt;br&gt;		define('CAKE_CORE_INCLUDE_PATH', $root);</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">joren</dc:creator><pubDate>Wed, 25 Jul 2007 16:00:20 -0000</pubDate></item><item><title>Re: CakePHP Install: Multiple Subdirectories &amp;#038; 500 Error</title><link>http://ninjavspenguin.disqus.com/cakephp_install_multiple_subdirectories_038_500_error/#comment-1354748</link><description>addition :&lt;br&gt;due to posting the ’ needs to be changed to ' (the single apos next to enter)</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">joren</dc:creator><pubDate>Wed, 25 Jul 2007 17:25:39 -0000</pubDate></item></channel></rss>