Subversion Repositories SmartDukaan

Rev

Rev 10582 | Rev 10613 | Go to most recent revision | Show entire file | Ignore whitespace | Details | Blame | Last modification | View Log | RSS feed

Rev 10582 Rev 10605
Line 90... Line 90...
90
 
90
 
91
		$current_dir = @opendir($img_path);
91
		$current_dir = @opendir($img_path);
92
 
92
 
93
		while ($filename = @readdir($current_dir))
93
		while ($filename = @readdir($current_dir))
94
		{
94
		{
95
			if ($filename != "." and $filename != ".." and $filename != "index.html")
95
			if ($filename != "." and $filename != ".svn" and $filename != ".." and $filename != "index.html")
96
			{
96
			{
97
				$name = str_replace(".jpg", "", $filename);
97
				$name = str_replace(".jpg", "", $filename);
98
 
98
 
99
				if (($name + $expiration) < $now)
99
				if (($name + $expiration) < $now)
100
				{
100
				{