View Single Post
Old 14th August 2011, 15:11
MetZ MetZ is offline
Junior Member
Join Date: Aug 2011
Posts: 12
Thanks: 0
Thanked 0 Times in 0 Posts
Default [Solved] Moving framework to shared lib


I am wondering how I can move my cakephp framework outside the "regular" web folder to share it with all cake apps on system?

cake location: /usr/local/lib/cakephp/cake_1_3_6/*.php

ISPConfig PHP open_basedir => added => :/usr/local/lib/cakephp/cake_1_3_6

and then to my app/webroot/index.php
if (!defined('CAKE_CORE_INCLUDE_PATH')) {
	define('CAKE_CORE_INCLUDE_PATH', DS.'usr'.DS.'local'.DS.'lib'.DS.'cakephp'.DS.'cake_1_3_6');
Should this not work? or am I missing something?

Thanks for any and all help provided!!


Last edited by MetZ; 16th August 2011 at 00:43.
Reply With Quote
Sponsored Links