Changeset 270
- Timestamp:
- 02/15/07 15:15:03 (1 year ago)
- Files:
-
- trunk/docroot/xml.php (modified) (2 diffs)
Legend:
- Unmodified
- Added
- Removed
- Modified
- Copied
- Moved
trunk/docroot/xml.php
r269 r270 11 11 public static function main() 12 12 { 13 $directory = new DirectoryIterator(stubConfig::getCachePath() . '/xml'); 14 foreach ($directory as $file) { 15 if ($file->isDot() == true) { 16 continue; 17 } 18 19 unlink($file->getPathname()); 20 } 13 21 $request = stubBaseRequest::getInstance('Web'); 14 22 $session = stubBaseSession::getInstance('PHP', 'stubSID'); … … 20 28 $postInterceptor->postProcess(); 21 29 $response->send(); 22 $directory = new DirectoryIterator(stubConfig::getCachePath() . '/xml');23 foreach ($directory as $file) {24 if ($file->isDot() == true) {25 continue;26 }27 28 unlink($file->getPathname());29 }30 30 } 31 31 }
