From: Daniel W. <d...@ni...> - 2005-12-13 20:06:07
|
Paul Lesneiwski wrote: > > Daniel Watts wrote: > >>This section is from functions.php of the compatibility plugin >>(v. 2.0.4). It shows the code commented out. It took me ages to try to >>find out why global $version was not working later on in the code - >>obviously because strings.php was never included. Just wondering why >>this is the default? When I uncommented it everything worked perfectly. > > > Because you didn't undo previous Compatibility patch and execute the > newest one. > > -paul I upgraded from 1.3 and the release notes said that only to remove the previous patch from 2.0.3. I did run the patch with this latest version...I can see the line in strings.php as it is supposed to be: include_once(SM_PATH . 'plugins/compatibility/functions.php'); Anyway would the patch actually uncomment this secton of code in compatibility/functions.php? As far as I can see it only patches functions/strings.php And just to check i'm not going insane and commented it out myself i just downloaded a fresh tar (http://squirrelmail.org/countdl.php?fileurl=http%3A%2F%2Fwww.squirrelmail.org%2Fplugins%2Fcompatibility-2.0.4.tar.gz) to have a look. Yep, commented out too! Where am i going wrong? Yours, Daniel |