Update website
This commit is contained in:
parent
4413528994
commit
1d90fbf296
6865 changed files with 1091082 additions and 0 deletions
23
admin/phpMyAdmin/vendor/thecodingmachine/safe/generated/rrd.php
vendored
Normal file
23
admin/phpMyAdmin/vendor/thecodingmachine/safe/generated/rrd.php
vendored
Normal file
|
@ -0,0 +1,23 @@
|
|||
<?php
|
||||
|
||||
namespace Safe;
|
||||
|
||||
use Safe\Exceptions\RrdException;
|
||||
|
||||
/**
|
||||
* Creates the rdd database file.
|
||||
*
|
||||
* @param string $filename Filename for newly created rrd file.
|
||||
* @param array $options Options for rrd create - list of strings. See man page of rrd create
|
||||
* for whole list of options.
|
||||
* @throws RrdException
|
||||
*
|
||||
*/
|
||||
function rrd_create(string $filename, array $options): void
|
||||
{
|
||||
error_clear_last();
|
||||
$result = \rrd_create($filename, $options);
|
||||
if ($result === false) {
|
||||
throw RrdException::createFromPhpError();
|
||||
}
|
||||
}
|
Loading…
Add table
Add a link
Reference in a new issue