REDROOM
PHP 8.2.30
Path:
Logout
Edit File
Size: 994 B
Close
/proc/self/root/usr/local/lsws/admin/html/classes/ws/ConfValidation.php
Text
Base64
<?php class ConfValidation extends CValidation { protected function validatePostTbl($tbl, &$d) { $isValid = parent::validatePostTbl($tbl, $d); if ($tbl->_id == 'VH_SECHL') { $res = $this->chkPostTbl_VH_SECHL($d); $this->setValid($isValid, $res); } return $isValid; } protected function chkPostTbl_VH_SECHL(&$d) { $isValid = 1; if ( $d['enableHotlinkCtrl']->GetVal() == '0' ) { if ( isset($d['suffixes']) && !$d['suffixes']->HasVal() ) { $d['suffixes']->SetErr(null); } if ( isset($d['allowDirectAccess']) && !$d['allowDirectAccess']->HasVal() ) { $d['allowDirectAccess']->SetErr(null); } if ( isset($d['onlySelf']) && !$d['onlySelf']->HasVal() ) { $d['onlySelf']->SetErr(null); } $isValid = 2; } else { if ( $d['onlySelf']->GetVal() == '0' && !$d['allowedHosts']->HasVal() ) { $d['allowedHosts']->SetErr('Must be specified if "Only Self Reference" is set to No'); $isValid = -1; } } return $isValid; } }
Save
Close
Exit & Reset
Text mode: syntax highlighting auto-detects file type.
Directory Contents
Dirs: 0 × Files: 12
Delete Selected
Select All
Select None
Sort:
Name
Size
Modified
Enable drag-to-move
Name
Size
Perms
Modified
Actions
CLIENT.php
9.10 KB
lrw-r--r--
2026-02-26 14:15:13
Edit
Download
Rename
Chmod
Change Date
Delete
OK
Cancel
recursive
OK
Cancel
recursive
OK
Cancel
ConfCenter.php
32.13 KB
lrw-r--r--
2026-02-26 14:15:13
Edit
Download
Rename
Chmod
Change Date
Delete
OK
Cancel
recursive
OK
Cancel
recursive
OK
Cancel
ConfValidation.php
994 B
lrw-r--r--
2026-02-26 14:15:13
Edit
Download
Rename
Chmod
Change Date
Delete
OK
Cancel
recursive
OK
Cancel
recursive
OK
Cancel
DAttr.php
2.17 KB
lrw-r--r--
2026-02-26 14:15:13
Edit
Download
Rename
Chmod
Change Date
Delete
OK
Cancel
recursive
OK
Cancel
recursive
OK
Cancel
DATTR_HELP_inc.php
242.78 KB
lrw-r--r--
2026-02-26 14:15:13
Edit
Download
Rename
Chmod
Change Date
Delete
OK
Cancel
recursive
OK
Cancel
recursive
OK
Cancel
DPageDef.php
13.63 KB
lrw-r--r--
2026-02-26 14:15:13
Edit
Download
Rename
Chmod
Change Date
Delete
OK
Cancel
recursive
OK
Cancel
recursive
OK
Cancel
DTblDef.php
116.86 KB
lrw-r--r--
2026-02-26 14:15:13
Edit
Download
Rename
Chmod
Change Date
Delete
OK
Cancel
recursive
OK
Cancel
recursive
OK
Cancel
GUI.php
2.35 KB
lrw-r--r--
2026-02-26 14:15:13
Edit
Download
Rename
Chmod
Change Date
Delete
OK
Cancel
recursive
OK
Cancel
recursive
OK
Cancel
PRODUCT.php
2.27 KB
lrw-r--r--
2026-02-26 14:15:13
Edit
Download
Rename
Chmod
Change Date
Delete
OK
Cancel
recursive
OK
Cancel
recursive
OK
Cancel
ReqProbe.php
5.21 KB
lrw-r--r--
2026-02-26 14:15:13
Edit
Download
Rename
Chmod
Change Date
Delete
OK
Cancel
recursive
OK
Cancel
recursive
OK
Cancel
Service.php
17.43 KB
lrw-r--r--
2026-02-26 14:15:13
Edit
Download
Rename
Chmod
Change Date
Delete
OK
Cancel
recursive
OK
Cancel
recursive
OK
Cancel
STATS.php
8.55 KB
lrw-r--r--
2026-02-26 14:15:13
Edit
Download
Rename
Chmod
Change Date
Delete
OK
Cancel
recursive
OK
Cancel
recursive
OK
Cancel
Zip Selected
If ZipArchive is unavailable, a
.tar
will be created (no compression).