Go Back   HowtoForge Forums | HowtoForge - Linux Howtos and Tutorials > ISPConfig 3 > Installation/Configuration

Do you like HowtoForge? Please consider supporting us by becoming a subscriber.
 
 
Thread Tools Display Modes
Prev Previous Post   Next Post Next
  #1  
Old 14th August 2011, 14: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

Hi..

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

Example:
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
Code:
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!!

-Tom

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

Bookmarks

Tags
basedir, cakephp, ispconfig3, move

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
Some problems after upgrade OS lenny to squeeze matiasCU Installation/Configuration 3 31st May 2011 22:53
Webmail problems with only one domain? compner Installation/Configuration 14 16th February 2010 16:59
libWand.so.10 error Taxick Installation/Configuration 8 3rd May 2009 01:27
dovecot problem sojic Server Operation 21 23rd March 2008 18:22
Howto suggestion suse PhP ver 4 + Ver 5 wwparrish Suggest HOWTO 11 7th August 2006 13:29


All times are GMT +2. The time now is 16:17.


Powered by vBulletin® Version 3.8.7
Copyright ©2000 - 2014, vBulletin Solutions, Inc.