Author Topic: Override Application Path  (Read 822 times)

0 Members and 1 Guest are viewing this topic.

Offline GinsBabuTopic starter

  • Irregular
  • Posts: 17
    • View Profile
Override Application Path
« on: March 08, 2010, 03:10:08 AM »
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....

Offline thorpe

  • Administrator
  • 'Mind Boggling!'
  • *
  • Posts: 29,255
    • View Profile
Re: Override Application Path
« Reply #1 on: March 08, 2010, 03:17:18 AM »
I'm sure its possible but were going to need more details.

Offline GinsBabuTopic starter

  • Irregular
  • Posts: 17
    • View Profile
Re: Override Application Path
« Reply #2 on: March 08, 2010, 03:32:04 AM »
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....

Offline thorpe

  • Administrator
  • 'Mind Boggling!'
  • *
  • Posts: 29,255
    • View Profile
Re: Override Application Path
« Reply #3 on: March 08, 2010, 04:35:27 AM »
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.

Offline GinsBabuTopic starter

  • Irregular
  • Posts: 17
    • View Profile
Re: Override Application Path
« Reply #4 on: March 08, 2010, 05:10:38 AM »
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?