Re: RE: **SPAM**::Re: [midgard-user] HELP : different behaviour between midgard 1.5 and 1.7

Piotras <pp-VVDi8QVAvoBWk0Htik3J/[email protected]> Wed, 31 Aug 2005 15:40:26 +0200
Newsgroups gmane.comp.web.midgard.user
Message-ID <[email protected]>
"Rialhon, Jean Yves" <[email protected]> wrote:

> Hi, 
> 
> I'm migrating from midgard 1.5 + php4 + mysql 3.23 to midgard 1.7 + php4
> + mysql 4.0.
> 
> When specify explicitely the database handler it works perfect. I was
> hopping to find another solution preventing me to do such a major change
> in all pages. 

First of all I would suggest to install PEAR DB package.
If you do not want to use it , change a bit your pages "connection usage".

1. You may set root's code-global as inherited and delete other pages code-global elements.
2. You may move your code to snippet and include it in code-global elements.

Both solutions let you maintain the code *in one place*.

Piotras