HEX
Server: Apache/2.4.25 (Debian)
System: Linux server17 4.9.0-19-amd64 #1 SMP Debian 4.9.320-2 (2022-06-30) x86_64
User: web37 (1062)
PHP: 7.4.30
Disabled: show_source, highlight_file, apache_child_terminate, apache_get_modules, apache_note, apache_setenv, virtual, dl, disk_total_space, posix_getpwnam, posix_getpwuid, posix_mkfifo, posix_mknod, posix_setpgid, posix_setsid, posix_setuid, posix_uname, proc_nice, openlog, syslog, pfsockopen
Upload Files
File: /var/www/web37/htdocs/fickanzeiger/components/template_lite/internal/template.build_dir.php
<?php
/**
 * Template Lite template_build_dir template internal module
 *
 * Type:	 template
 * Name:	 template_build_dir
 */

function template_build_dir($dir, $id, &$object)
{
	$_args = explode('|', $id);
	if (count($_args) == 1 && empty($_args[0]))
	{
		return $object->_get_dir($dir);
	}
	$_result = $object->_get_dir($dir);
	foreach($_args as $value)
	{
		$_result .= $value.DIRECTORY_SEPARATOR;
		if (!is_dir($_result))
		{
			@mkdir($_result, 0777);
		}
	}
	return $_result;
}

?>