diff --git a/gulliver/system/class.g.php b/gulliver/system/class.g.php
index 24d7a3f76..3829b6d89 100755
--- a/gulliver/system/class.g.php
+++ b/gulliver/system/class.g.php
@@ -310,12 +310,8 @@ class G
while (! @is_dir( dirname( end( $folder_path ) ) ) && dirname( end( $folder_path ) ) != '/' && dirname( end( $folder_path ) ) != '.' && dirname( end( $folder_path ) ) != '') {
array_push( $folder_path, dirname( end( $folder_path ) ) ); //var_dump($folder_path); die;
}
-
- G::LoadSystem('inputfilter');
- $filter = new InputFilter();
while ($parent_folder_path = array_pop( $folder_path )) {
- $parent_folder_path = $filter->validateInput($parent_folder_path,"path");
if (! @is_dir( $parent_folder_path )) {
if (! @mkdir( $parent_folder_path, $rights)) {
error_log( "Can't create folder \"$parent_folder_path\"");
@@ -2722,10 +2718,6 @@ class G
$image = $inputFn( $path );
imagecopyresampled( $image_p, $image, 0, 0, 0, 0, $resWidth, $resHeight, $width, $height );
$outputFn( $image_p, $saveTo );
-
- G::LoadSystem('inputfilter');
- $filter = new InputFilter();
- $saveTo = $filter->validateInput($saveTo, "path");
@chmod( $saveTo, 0666 );
}
@@ -3145,7 +3137,7 @@ class G
G::LoadSystem('inputfilter');
$filter = new InputFilter();
$c = $filter->xssFilterHard($c);
- print ('') ;
+ print ('') ;
}
/**