Add missing function comment
This commit is contained in:
@ -178,7 +178,7 @@ final class MD_JAIL {
|
||||
*
|
||||
* @return void
|
||||
*/
|
||||
private function _apply_basedir_restriction():void {
|
||||
private function _apply_basedir_restriction():void {
|
||||
|
||||
if (empty($this->_open_basedir)) {
|
||||
throw new MDJailSecurityOptionNotSetException("It has not been specified, which memory limit the script should hold. Set MD_JAIL->open_basedir = string.");
|
||||
@ -187,7 +187,7 @@ final class MD_JAIL {
|
||||
throw new Exception('Failed to set open_basedir restrictions');
|
||||
}
|
||||
|
||||
}
|
||||
}
|
||||
|
||||
/**
|
||||
* Enforces security options previously set.
|
||||
@ -233,6 +233,9 @@ final class MD_JAIL {
|
||||
|
||||
}
|
||||
|
||||
/**
|
||||
* Destructor. Throws an exception if the settings have not been set.
|
||||
*/
|
||||
public function __destruct() {
|
||||
|
||||
if ($this->_status !== self::STATUS_SPECIFIED) {
|
||||
@ -255,6 +258,5 @@ final class MD_JAIL {
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user