mirror of
https://github.com/phpbb/phpbb.git
synced 2025-08-06 08:47:45 +02:00
replace constants with class constants.
ACL_YES, ACL_NO, ACL_NEVER, USER_NORMAL, USER_IGNORE, USER_INACTIVE, USER_FOUNDER git-svn-id: file:///svn/phpbb/trunk@9233 89ea8834-ac86-4346-8a33-228a782c2dd0
This commit is contained in:
@@ -226,7 +226,7 @@ class compress_zip extends compress
|
||||
{
|
||||
trigger_error("Could not create directory $folder");
|
||||
}
|
||||
phpbb_chmod($str, CHMOD_READ | CHMOD_WRITE);
|
||||
phpbb_chmod($str, phpbb::CHMOD_READ | phpbb::CHMOD_WRITE);
|
||||
}
|
||||
}
|
||||
}
|
||||
@@ -255,7 +255,7 @@ class compress_zip extends compress
|
||||
{
|
||||
trigger_error("Could not create directory $folder");
|
||||
}
|
||||
phpbb_chmod($str, CHMOD_READ | CHMOD_WRITE);
|
||||
phpbb_chmod($str, phpbb::CHMOD_READ | phpbb::CHMOD_WRITE);
|
||||
}
|
||||
}
|
||||
}
|
||||
@@ -540,7 +540,7 @@ class compress_tar extends compress
|
||||
{
|
||||
trigger_error("Could not create directory $folder");
|
||||
}
|
||||
phpbb_chmod($str, CHMOD_READ | CHMOD_WRITE);
|
||||
phpbb_chmod($str, phpbb::CHMOD_READ | phpbb::CHMOD_WRITE);
|
||||
}
|
||||
}
|
||||
}
|
||||
@@ -567,7 +567,7 @@ class compress_tar extends compress
|
||||
{
|
||||
trigger_error("Could not create directory $folder");
|
||||
}
|
||||
phpbb_chmod($str, CHMOD_READ | CHMOD_WRITE);
|
||||
phpbb_chmod($str, phpbb::CHMOD_READ | phpbb::CHMOD_WRITE);
|
||||
}
|
||||
}
|
||||
|
||||
@@ -576,7 +576,7 @@ class compress_tar extends compress
|
||||
{
|
||||
trigger_error("Couldn't create file $filename");
|
||||
}
|
||||
phpbb_chmod($target_filename, CHMOD_READ);
|
||||
phpbb_chmod($target_filename, phpbb::CHMOD_READ | phpbb::CHMOD_WRITE);
|
||||
|
||||
// Grab the file contents
|
||||
fwrite($fp, ($filesize) ? $fzread($this->fp, ($filesize + 511) &~ 511) : '', $filesize);
|
||||
|
Reference in New Issue
Block a user