Re: sql and use in scripts

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Res <res <at> ausics.net> writes:

> 
> 
> Hi Paul,
> 
> On Sat, 21 Apr 2007, Paul Lesniewski wrote:
> 
> > Edit functions/db_prefs.php, find the line that looks like this:
> >
> > var $user_field = 'user';
> >
> > (~line 94 in 1.4.10), (~line 101 in 1.5.2) and change it to 'owner',
> > then both tables are the same.
> >
> 
> Thanks, I wanted to make sure there wasn't any tech reason before
> doing things.
> 
> > It wouldn't be a bad idea to pull these into the configuration system
> > that is being rebuilt.
> 
> That would be great :)

you could also check existing configuration options. preference table fields are
configurable since SquirrelMail 1.2.6.

conf.pl -> 9. Database.

$prefs_dsn = '';
$prefs_table = 'userprefs';
$prefs_key_field = 'prefkey';
$prefs_user_field = 'user';
$prefs_val_field = 'prefval';


-- 
Tomas




-------------------------------------------------------------------------
This SF.net email is sponsored by DB2 Express
Download DB2 Express C - the FREE version of DB2 express and take
control of your XML. No limits. Just data. Click to get it now.
http://sourceforge.net/powerbar/db2/
--
squirrelmail-users mailing list
Posting Guidelines: http://www.squirrelmail.org/wiki/MailingListPostingGuidelines
List Address: squirrelmail-users@xxxxxxxxxxxxxxxxxxxxx
List Archives: http://news.gmane.org/thread.php?group=gmane.mail.squirrelmail.user
List Archives:  http://sourceforge.net/mailarchive/forum.php?forum_id=2995
List Info: https://lists.sourceforge.net/lists/listinfo/squirrelmail-users

[Index of Archives]     [Video For Linux]     [Yosemite News]     [Yosemite Photos]     [gtk]     [KDE]     [Cyrus SASL]     [Gimp on Windows]     [Steve's Art]     [Webcams]

  Powered by Linux