Announcement

#1 2004-05-29 09:33:44

lolo
Member
Aix-en-Provence, France
2004-05-24
30

pb with prefix

I'm writing a page making requests to PWG db.
I want to use PWG params such as PREFIX_TABLE. Can you tell me where they are stored (and how to include them)?
Because I'd like to work in a subfolder...

Last edited by lolo (2004-05-29 09:44:32)


o>°o

Offline

 

#2 2004-05-31 17:31:34

plg
Piwigo Team
Nantes, France, Europe
2002-04-05
13791

Re: pb with prefix

the constant PREFIX_TABLE is created with the content of parameter $prefix_table in include/mysql.inc.php

Offline

 

#3 2004-05-31 20:46:54

lolo
Member
Aix-en-Provence, France
2004-05-24
30

Re: pb with prefix

Thanks, but I solved my problem by inserting these lines :

Code:

define( 'PREFIX_INCLUDE', '' );
include_once( './include/functions.inc.php' );
include_once( './include/functions_category.inc.php' );
database_connection();

Because I needed other functions

Last edited by lolo (2004-05-31 20:56:32)


o>°o

Offline

 

Board footer

Powered by FluxBB

github twitter newsletter Donate Piwigo.org © 2002-2024 · Contact