GinsBabu Posted March 8, 2010 Share Posted March 8, 2010 Hi all, I do have a small application which uploads zend library and application folder.What i wanted to know is can i override the path set in bootstrap to the application and library that i have recently uploaded. Any help? Thanks.... Quote Link to comment https://forums.phpfreaks.com/topic/194476-override-application-path/ Share on other sites More sharing options...
trq Posted March 8, 2010 Share Posted March 8, 2010 I'm sure its possible but were going to need more details. Quote Link to comment https://forums.phpfreaks.com/topic/194476-override-application-path/#findComment-1022905 Share on other sites More sharing options...
GinsBabu Posted March 8, 2010 Author Share Posted March 8, 2010 Hi thorpe, Thanks for your response.....like i said we are uploading it to a folder structure..."version1_1/Applicaiton1_1.We are creating a new version of another site through my app. So when i click on the activate button the other application for which i have uploaded the new library and application ,it should read from here.I hope thats gives you a picture.... Quote Link to comment https://forums.phpfreaks.com/topic/194476-override-application-path/#findComment-1022906 Share on other sites More sharing options...
trq Posted March 8, 2010 Share Posted March 8, 2010 Firstly, I wouldn't recommend duplicating the library directory, just place it in common location and share it amongst your applications. As for setting your application path, we still need more details about how this application is being created. If it where up to me I would be using some sort of install script that would write the required variables in there required locations. Either that, or set these vairables within an Apache environment variable when the application is built. Your still not providing us with enough details to help you however. Quote Link to comment https://forums.phpfreaks.com/topic/194476-override-application-path/#findComment-1022928 Share on other sites More sharing options...
GinsBabu Posted March 8, 2010 Author Share Posted March 8, 2010 Hi, We know it's a Little odd to re upload library but we do re - upload only when a new library is available.because of this we are re uploading application also. I know you haven't got any clear picture but apart from that can i create a config.ini file through my application to the uploaded application and if so how.Also using zend code generate can i create a bootstrap file? Quote Link to comment https://forums.phpfreaks.com/topic/194476-override-application-path/#findComment-1022937 Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.