<?php namespace Tools { /** */ class FS { public static function mkpath($path) { if(@mkdir($path) or file_exists($path)) return true; return (\Tools\FS::mkpath(dirname($path)) and mkdir($path)); } } } ?>