2014-02-14 17:28:11 +01:00
|
|
|
<?php
|
2014-04-28 14:03:52 +02:00
|
|
|
// @codeCoverageIgnoreStart
|
2014-02-14 17:28:11 +01:00
|
|
|
// {{{ICINGA_LICENSE_HEADER}}}
|
|
|
|
// {{{ICINGA_LICENSE_HEADER}}}
|
|
|
|
|
|
|
|
namespace Icinga\Util;
|
|
|
|
|
|
|
|
class File
|
|
|
|
{
|
|
|
|
public static function create($filename, $mode = 0664)
|
|
|
|
{
|
|
|
|
fclose(fopen($filename, 'a'));
|
|
|
|
chmod($filename, $mode);
|
|
|
|
}
|
2014-04-28 14:03:52 +02:00
|
|
|
}
|
|
|
|
// @codeCoverageIgnoreEnd
|