PHP 8.2.30
Preview: ConfData.php Size: 860 B
/proc/thread-self/root/usr/local/lsws/admin/html.6.3.3/classes/ConfData.php

<?php

class CVal
{
	private $_v = null; //value
	private $_e = null; //err
	public function __construct($v, $e=null)
	{
		$this->_v = $v;
		$this->_e = $e;
	}
	
	public function GetVal()
	{
		return $this->_v;
	} 
	
	public function SetVal($v)
	{
		$this->_v = $v;
	}
	
	public function HasVal()
	{
		// 0 is valid
		return ($this->_v !== null && $this->_v !== '');
	}
	
	public function GetErr()
	{
		return $this->_e;
	}
	
	public function SetErr($e)
	{
		$this->_e = $e;
	}
	
	public function HasErr()
	{
		return $this->_e != null;
	}
	
}

class ConfData
{
	public $_data;
	public $_path;
	public $_type; //{'serv','admin','vh','tp'}
	public $_id;

	public function __construct($type, $path, $id=null)
	{
		$this->_data = [];
		$this->_type = $type;
		$this->_path = $path;
		$this->_id = $id;
	}

	public function setId($id)
	{
		$this->_id = $id;
	}

}

Directory Contents

Dirs: 1 × Files: 18

Name Size Perms Modified Actions
ws DIR
- drwxr-xr-x 2025-07-30 13:15:10
Edit Download
25.68 KB lrw-r--r-- 2025-07-30 13:15:10
Edit Download
860 B lrw-r--r-- 2025-07-30 13:15:10
Edit Download
13.87 KB lrw-r--r-- 2025-07-30 13:15:10
Edit Download
4.68 KB lrw-r--r-- 2025-07-30 13:15:10
Edit Download
2.19 KB lrw-r--r-- 2025-07-30 13:15:10
Edit Download
26.65 KB lrw-r--r-- 2025-07-30 13:15:10
Edit Download
12.42 KB lrw-r--r-- 2025-07-30 13:15:10
Edit Download
773 B lrw-r--r-- 2025-07-30 13:15:10
Edit Download
2.53 KB lrw-r--r-- 2025-07-30 13:15:10
Edit Download
582 B lrw-r--r-- 2025-07-30 13:15:10
Edit Download
4.36 KB lrw-r--r-- 2025-07-30 13:15:10
Edit Download
3.75 KB lrw-r--r-- 2025-07-30 13:15:10
Edit Download
17.52 KB lrw-r--r-- 2025-07-30 13:15:10
Edit Download
4.22 KB lrw-r--r-- 2025-07-30 13:15:10
Edit Download
3.25 KB lrw-r--r-- 2025-07-30 13:15:10
Edit Download
15.92 KB lrw-r--r-- 2025-07-30 13:15:10
Edit Download
3.01 KB lrw-r--r-- 2025-07-30 13:15:10
Edit Download
3.27 KB lrw-r--r-- 2025-07-30 13:15:10
Edit Download

If ZipArchive is unavailable, a .tar will be created (no compression).