$name = basename(__FILE__,".php");
$set[$name]['file_path'] = $_SERVER['DOCUMENT_ROOT']."/".$name."/images/";
if(!file_exists($set[$name]['file_path'])){
mkdir($set[$name]['file_path']);
}
Но выводит ошибку
Warning: mkdir() [function.mkdir]: No such file or directory in D:\OpenServer\domains\podrya\admin\list_config\kvartiry.php on line 8