Re: installer (wa: Re: new release very urgent)
Dan Rossi <liveuser-zu2dZaOKXTSc5qR/[email protected]>
| Newsgroups | gmane.comp.php.pear.liveuser |
|---|---|
| Message-ID | <[email protected]> |
On 13/06/2005, at 9:08 PM, Lukas Smith wrote: > Dan Rossi wrote: > >> Hmm sorry dude its a little bit confusing to work out whats its doing >> :| I was wondering if there was a way to move the installer class out >> of the data directory and placed in LiveUser/Misc/Schema/Install.php >> then the install.php in the data directory could interface to it ? > > i think the installer belongs into the data dir because its not code > you include at runtime, creates temporary files etc. its the natural > place for it even if its php code. > Ok , i'm not a pear package maintainer so i'm not aware of these things. See remember pear dir is defaulted to root. This kind of setup requires a local dev machine owned by the developer or seperate local pear repositories. I luckily develop on my osx laptop so dont have these kind of issues :) Also maybe an MDB2_Schema question , but how to i prevent it creating the old schema files, i have to delete these usually to run the installer again. I think it tries and runs an update if the .old files are there ?