On Tue, Aug 13, 2002 at 03:51:12PM +0200, Manuel Desdin wrote: > hello, > spideradmin uses the variables REPLIGARD_DBNAME, REPLIGARD_DBUSER, > REPLIGARD_DBPASSWORD and REPLIGARD_BLOBDIR in export and import pages. > it looks like they should be provided by apache or php itself. my > question is how to make this variables visible? note that > register_globals is already on. > thanks in advance, > md :-)
Well, looks like I didn't write any README for Spider. These variables should be set by administrator (the main one ;) who knows about all these things. We discussed a little and got that they should be set in midgard-root.php (yes, I know it's bad), so it wouldn't be visible to usual users. So just insert in midgard-root.php: REPLIGARD_DBNAME - name of midgard's database. REPLIGARD_DBUSER, REPLIGARD_DBPASSWORD - user and password for accessing to this DB. REPLIGARD_BLOBDIR - midgard's blobdir. You can look at these values in repligard.conf. And, of course, you can set these variables in code-global or code-init for these pages or even in style element for Spider, but... :) -- Regards, Sergei Dolmatov. --- If this is timesharing, give me my share right now. --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
