[Phpmyadmin-devel] I am back

Marc Delisle Delislma at CollegeSherbrooke.qc.ca
Tue Aug 27 12:16:21 CEST 2002


Korakot Chaovavanich wrote:

> Dear Everyone,
> 
> I am back now, after a few time of calls.
> First I must apologize for having abadon my duty
> as a team member. I have switched job from a
> (sort of) programmer to a lecturer at a new university.
> I will start giving my first lecture "Calculus I" next month
> and after a few months (or years ^_^), I may have some
> of my students coding in an open source project as a homework.
> Not sure if this is a valid excuse anyway. :)


Welcome back :)


> 
> Enough about me. It is to my surprise to see the project
> progress so much. I need to spend some time to study
> the code again. So much features, but still one on the
> top of the list "Function depend on Type" suggested by me
> is left undone.
> 
> So I start with this one. The change has worked on my computer.
> But I need to modify the structure of 2 config vars
>  $cfg['ColumnTypes'],  $cfg['Functions'] from simple array to
> associative array. Like this
> 
>             $cfg['ColumnTypes'] = array(
>                 'VARCHAR',
>                 'TINYINT',
>                 'TEXT', ...
> to
>             $cfg['ColumnTypes'] = array(
>                 'VARCHAR'=>'str',
>                 'TINYINT'=>'int',
>                 'TEXT'=>'str', ...
> and match the two config and check before display the function
> in the dropdown box.
> 
> A problem is that, after search for the two config vars, I also
> found it inside /library/config_import.lib.php3
> Can someone please explain the concept of it?


This script is used when we detect an old config file. So I guess
you just have to put the new definition of $cfg['ColumnTypes']
in config_import.lib.php3 also.


> I guess I can simply change the structure of the two vars there.
> But I am afraid that in won't work in case of import old config file.
> 
> Thanks,
> Korakot
> 
> 
> 
> 
> -------------------------------------------------------
> This sf.net email is sponsored by: OSDN - Tired of that same old
> cell phone?  Get a new here for FREE!
> https://www.inphonic.com/r.asp?r=sourceforge1&refcode1=vs3390
> _______________________________________________
> Phpmyadmin-devel mailing list
> Phpmyadmin-devel at lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/phpmyadmin-devel
> 
> 


-- 
Marc Delisle






More information about the Developers mailing list