]> CyberLeo.Net >> Repos - SourceForge/phpwiki.git/commit
Attempt to fix SF bug #413446.
authordairiki <dairiki@96ab9672-09ca-45d6-a79d-3d69d39ca109>
Sat, 18 Aug 2001 02:38:34 +0000 (02:38 +0000)
committerdairiki <dairiki@96ab9672-09ca-45d6-a79d-3d69d39ca109>
Sat, 18 Aug 2001 02:38:34 +0000 (02:38 +0000)
commit08d65680de0e6664ce208bfcea491b936dd5a8df
tree59394affe03608a5f5572ff02a62274ff33db686
parent349d518324fad6076d7f7410316229f8e06c0c04
Attempt to fix SF bug #413446.

I think this bug was due to using PHP's file() function to slurp in the
files (as an array of lines).  The files, being serialized data, consist
of only one (sometimes very long) line.  I think (at least in some PHPs)
this make the file() function unhappy.

Fixed to use fread() rather than file().  Also make sure to open files
in 'binary' mode.

git-svn-id: svn://svn.code.sf.net/p/phpwiki/code/branches/release-1_2-branch@540 96ab9672-09ca-45d6-a79d-3d69d39ca109
lib/db_filesystem.php