Ver Fonte

One more spot

Signed-off-by: Suki <[email protected]>
Suki há 11 anos atrás
pai
commit
6dfdb62384
1 ficheiros alterados com 1 adições e 1 exclusões
  1. 1 1
      Sources/Subs-Themes.php

+ 1 - 1
Sources/Subs-Themes.php

@@ -166,7 +166,7 @@ function get_theme_info($path)
 	// The theme isn't compatible with the current SMF version.
 	if (!$install_versions || !matchPackageVersion($the_version, $install_versions))
 	{
-		rmdir($path);
+		remove_dir($path);
 		fatal_lang_error('package_get_error_theme_not_compatible', false, $forum_version);
 	}