//small check
This commit is contained in:
1 parent
4f173aa5a3
commit
9f28f5bfe3
1 file changed
+4
@@ -634,6 +634,8 @@ class ToolsCore
|
|||||||
{
|
{
|
||||||
$dirname = rtrim($dirname, '/').'/';
|
$dirname = rtrim($dirname, '/').'/';
|
||||||
$files = scandir($dirname);
|
$files = scandir($dirname);
|
||||||
|
if (is_dir($dirname))
|
||||||
|
{
|
||||||
foreach ($files as $file)
|
foreach ($files as $file)
|
||||||
if ($file != '.' && $file != '..' && $file != '.svn')
|
if ($file != '.' && $file != '..' && $file != '.svn')
|
||||||
{
|
{
|
||||||
@@ -646,6 +648,8 @@ class ToolsCore
|
|||||||
rmdir($dirname);
|
rmdir($dirname);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Display an error according to an error code
|
* Display an error according to an error code
|
||||||
*
|
*
|
||||||
|
|||||||
Reference in new issue
Block a user