looks like index.php calls freediskspace with parameter $disk, however freediskspace is defined without any paremeters in functions.php
to allow $disk var from settings.php to be used here, modify .freediskspace to accept $disk
modified .freediskspace function
Logged In: YES user_id=1329819 Originator: NO
I also noticed the problem and was about to submit a bug, but I read this one before.
Logged In: NO
I'm no php expert, but adding $disk to the function freediskspace plus a $ in the disk_free_space(disk) function worked for me:
in functions.php, just after the <?php
replace: function freediskspace() { return (round (disk_free_space(disk)/1024/1024,2));
with: function freediskspace($disk) { return (round (disk_free_space($disk)/1024/1024,2));
Log in to post a comment.
modified .freediskspace function
Logged In: YES
user_id=1329819
Originator: NO
I also noticed the problem and was about to submit a bug, but I read this one before.
Logged In: NO
I'm no php expert, but adding $disk to the function freediskspace plus a $ in the disk_free_space(disk) function worked for me:
in functions.php, just after the <?php
replace:
function freediskspace() {
return (round (disk_free_space(disk)/1024/1024,2));
with:
function freediskspace($disk) {
return (round (disk_free_space($disk)/1024/1024,2));