typos
This commit is contained in:
@@ -864,7 +864,7 @@ class PMA_File
|
|||||||
*/
|
*/
|
||||||
function isReadable()
|
function isReadable()
|
||||||
{
|
{
|
||||||
// surpress warnings from beeing displayed, but not from beeing logged
|
// suppress warnings from being displayed, but not from being logged
|
||||||
// any file access outside of open_basedir will issue a warning
|
// any file access outside of open_basedir will issue a warning
|
||||||
ob_start();
|
ob_start();
|
||||||
$is_readable = is_readable($this->getName());
|
$is_readable = is_readable($this->getName());
|
||||||
@@ -914,7 +914,7 @@ class PMA_File
|
|||||||
$GLOBALS['cfg']['TempDir'] = 'tmp/';
|
$GLOBALS['cfg']['TempDir'] = 'tmp/';
|
||||||
}
|
}
|
||||||
|
|
||||||
// surpress warnings from beeing displayed, but not from beeing logged
|
// suppress warnings from being displayed, but not from being logged
|
||||||
ob_start();
|
ob_start();
|
||||||
// check tmp dir
|
// check tmp dir
|
||||||
if (! is_dir($GLOBALS['cfg']['TempDir'])) {
|
if (! is_dir($GLOBALS['cfg']['TempDir'])) {
|
||||||
@@ -938,7 +938,7 @@ class PMA_File
|
|||||||
|
|
||||||
$new_file_to_upload = tempnam(realpath($GLOBALS['cfg']['TempDir']), basename($this->getName()));
|
$new_file_to_upload = tempnam(realpath($GLOBALS['cfg']['TempDir']), basename($this->getName()));
|
||||||
|
|
||||||
// surpress warnings from beeing displayed, but not from beeing logged
|
// suppress warnings from being displayed, but not from being logged
|
||||||
// any file access outside of open_basedir will issue a warning
|
// any file access outside of open_basedir will issue a warning
|
||||||
ob_start();
|
ob_start();
|
||||||
$move_uploaded_file_result = move_uploaded_file($this->getName(), $new_file_to_upload);
|
$move_uploaded_file_result = move_uploaded_file($this->getName(), $new_file_to_upload);
|
||||||
@@ -978,7 +978,7 @@ class PMA_File
|
|||||||
*/
|
*/
|
||||||
function _detectCompression()
|
function _detectCompression()
|
||||||
{
|
{
|
||||||
// surpress warnings from beeing displayed, but not from beeing logged
|
// suppress warnings from being displayed, but not from being logged
|
||||||
// f.e. any file access outside of open_basedir will issue a warning
|
// f.e. any file access outside of open_basedir will issue a warning
|
||||||
ob_start();
|
ob_start();
|
||||||
$file = fopen($this->getName(), 'rb');
|
$file = fopen($this->getName(), 'rb');
|
||||||
|
Reference in New Issue
Block a user