[geeklog-devtalk] geeklog-devel digest, Vol 1 #295 - 2 msgs
geeklog-devel-request at lists.geeklog.net
geeklog-devel-request at lists.geeklog.net
Tue Mar 23 13:00:02 EST 2004
Send geeklog-devel mailing list submissions to
geeklog-devel at lists.geeklog.net
To subscribe or unsubscribe via the World Wide Web, visit
http://lists.geeklog.net/listinfo/geeklog-devel
or, via email, send a message with subject or body 'help' to
geeklog-devel-request at lists.geeklog.net
You can reach the person managing the list at
geeklog-devel-admin at lists.geeklog.net
When replying, please edit your Subject line so it is more specific
than "Re: Contents of geeklog-devel digest..."
Today's Topics:
1. Experimental InnoDB support (Dirk Haun)
2. Downloader and Upload classes (Blaine Lang)
--__--__--
Message: 1
From: "Dirk Haun" <dirk at haun-online.de>
To: <geeklog-devel at lists.geeklog.net>
Date: Mon, 22 Mar 2004 20:13:07 +0100
Organization: Terra Software Systems
Subject: [geeklog-devel] Experimental InnoDB support
Reply-To: geeklog-devel at lists.geeklog.net
(k, so I'll keep on playing human gateway for the CVS changes ;-)
I've changed the install script to check for a MySQL version that
supports InnoDB tables. If that is the case, a fresh install will now use
InnoDB instead of MyISAM tables.
I'd like to hear some feedback on this. Also, if anyone is running an old
version of MySQL (something around 3.23.34) I'd like to know if the check
causes any problems there.
bye, Dirk
--
http://www.haun-online.de/
http://www.haun.info/
--__--__--
Message: 2
From: "Blaine Lang" <geeklog at langfamily.ca>
To: <geeklog-devel at lists.geeklog.net>
Date: Tue, 23 Mar 2004 08:52:30 -0500
Subject: [geeklog-devel] Downloader and Upload classes
Reply-To: geeklog-devel at lists.geeklog.net
This is a multi-part message in MIME format.
------=_NextPart_000_0022_01C410B4.2D158800
Content-Type: text/plain;
charset="iso-8859-1"
Content-Transfer-Encoding: quoted-printable
I have a plugin that uses these two classes and used a plugin config =
variable to define the allowable filetypes that could be uploaded and =
downloaded.
I wanted to use the same define to set the allowable upload and download =
filetypes in the class but the class uses two different array definition =
methods.
The upload.class uses this method
$this->_availableMimeTypes =3D array(
'application/pdf' =3D> '.pdf',
'application/x-shockwave-flash' =3D> '.swf',
'application/msword' =3D> '.doc',
'application/vnd.ms-excel' =3D> '.xls'
)
The downloader.class uses the reverse method=20
$this->_availableMimeTypes =3D array(
'tgz' =3D> 'application/x-gzip-compressed',
'gz' =3D> 'application/x-gzip-compressed',
'zip' =3D> 'application/x-zip-compresseed',
'tar' =3D> 'application/x-tar',
'php' =3D> 'text/plain',
'phps' =3D> 'text/plain'
)
There may be a reason this was done this way -- or was the classes were =
developed at different times and thats just the way it is.
Should we change one and align them to use the same method?
Blaine
------=_NextPart_000_0022_01C410B4.2D158800
Content-Type: text/html;
charset="iso-8859-1"
Content-Transfer-Encoding: quoted-printable
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<HTML><HEAD>
<META http-equiv=3DContent-Type content=3D"text/html; =
charset=3Diso-8859-1">
<META content=3D"MSHTML 6.00.2800.1400" name=3DGENERATOR>
<STYLE></STYLE>
</HEAD>
<BODY bgColor=3D#ffffff>
<DIV><FONT face=3DArial size=3D2>I have a plugin that uses these two =
classes and=20
used a plugin config variable to define the allowable filetypes that =
could be=20
uploaded and downloaded.</FONT></DIV>
<DIV><FONT face=3DArial size=3D2></FONT> </DIV>
<DIV><FONT face=3DArial size=3D2>I wanted to use the same define to set =
the=20
allowable upload and download filetypes in the class but the class uses =
two=20
different array definition methods.</FONT></DIV>
<DIV><FONT face=3DArial size=3D2></FONT> </DIV>
<DIV><FONT face=3DArial size=3D2>The upload.class uses this =
method</FONT></DIV>
<DIV><FONT face=3DArial size=3D2> =
$this->_availableMimeTypes=20
=3D array(</FONT><FONT face=3DArial size=3D2></FONT></DIV>
<DIV><FONT face=3DArial =
size=3D2> =20
'application/pdf' =3D>=20
'.pdf',<BR> =20
'application/x-shockwave-flash' =3D>=20
'.swf',<BR> =20
'application/msword' =3D>=20
'.doc',<BR> =20
'application/vnd.ms-excel' =3D> '.xls'</FONT></DIV>
<DIV><FONT face=3DArial size=3D2> )</FONT></DIV>
<DIV><FONT face=3DArial size=3D2></FONT> </DIV>
<DIV><FONT face=3DArial size=3D2></FONT> </DIV>
<DIV><FONT face=3DArial size=3D2>The downloader.class uses the reverse =
method=20
</FONT></DIV>
<DIV><FONT face=3DArial =
size=3D2> $this->_availableMimeTypes=20
=3D array(<BR> 'tgz' =3D>=20
'application/x-gzip-compressed',<BR> =
'gz'=20
=3D> =20
'application/x-gzip-compressed',<BR> =
'zip'=20
=3D>=20
'application/x-zip-compresseed',<BR> &=
nbsp;'tar'=20
=3D> 'application/x-tar',<BR> =
'php' =3D>=20
'text/plain',</FONT></DIV>
<DIV><FONT face=3DArial size=3D2> =
'phps' =3D>=20
'text/plain'</FONT></DIV>
<DIV><FONT face=3DArial size=3D2> )</FONT></DIV>
<DIV><FONT face=3DArial size=3D2></FONT> </DIV>
<DIV><FONT face=3DArial size=3D2>There may be a reason this was done =
this way -- or=20
was the classes were developed at different times and thats just the way =
it=20
is.</FONT></DIV>
<DIV><FONT face=3DArial size=3D2></FONT> </DIV>
<DIV><FONT face=3DArial size=3D2>Should we change one and align =
them to use the=20
same method?</FONT></DIV>
<DIV><FONT face=3DArial size=3D2></FONT> </DIV>
<DIV><FONT face=3DArial size=3D2>Blaine</FONT></DIV>
<DIV><FONT face=3DArial size=3D2></FONT> </DIV>
<DIV><FONT face=3DArial size=3D2></FONT> </DIV>
<DIV><FONT face=3DArial size=3D2></FONT> </DIV>
<DIV><FONT face=3DArial size=3D2></FONT> </DIV></BODY></HTML>
------=_NextPart_000_0022_01C410B4.2D158800--
--__--__--
_______________________________________________
geeklog-devel mailing list
geeklog-devel at lists.geeklog.net
http://lists.geeklog.net/listinfo/geeklog-devel
End of geeklog-devel Digest
More information about the geeklog-devtalk
mailing list