2007-08-06
ascent
Over the last days, the install.php file has changed a bit. Line 427/432 now contains
$funcs = explode(' ','addslashes basename call_user_func chmod copy fgets '.
'file file_exists fseek flush filesize ftell fopen '.
'glob header ignore_user_abort ini_get mail mkdir '.
'ob_start opendir parse_ini_file readfile realpath '.
'rename rmdir serialize session_start unlink usleep '.
'preg_replace','file_get_contents');
This is exactly where it goes wrong, because using diff on the release and snapshot, I discovered file_get_contents to be newly added. However, it was added not in the string but as (optional) parameter for explode. This is however valid though not semantically (is that a word??) right.
Next diff fixes this problem:
ascent@ascent:/usr/netbsd/doku2/dokuwiki> diff install_orig.php install.php
432c432
< 'preg_replace','file_get_contents');
---
> 'preg_replace file_get_contents');
ascent@ascent:/usr/netbsd/doku2/dokuwiki>