|
@@ 601-601 (lines=1) @@
|
| 598 |
|
|
| 599 |
|
//Serializes security options (not deeply tested)
|
| 600 |
|
$security='';
|
| 601 |
|
if(!is_null($this->security["password"]["owner"])) $security.=' owner_pw "'.substr($this->security["password"]["owner"],0,FPDM_PASSWORD_MAX_LEN).'"';
|
| 602 |
|
if(!is_null($this->security["password"]["user"])) $security.=' user_pw "'.substr($this->security["password"]["user"],0,FPDM_PASSWORD_MAX_LEN).'"';
|
| 603 |
|
if($this->security["encrypt"]!=0) $security.=' encrypt_'.$this->security["encrypt"].'bit';
|
| 604 |
|
if(count($this->security["allow"])>0) {
|
|
@@ 602-602 (lines=1) @@
|
| 599 |
|
//Serializes security options (not deeply tested)
|
| 600 |
|
$security='';
|
| 601 |
|
if(!is_null($this->security["password"]["owner"])) $security.=' owner_pw "'.substr($this->security["password"]["owner"],0,FPDM_PASSWORD_MAX_LEN).'"';
|
| 602 |
|
if(!is_null($this->security["password"]["user"])) $security.=' user_pw "'.substr($this->security["password"]["user"],0,FPDM_PASSWORD_MAX_LEN).'"';
|
| 603 |
|
if($this->security["encrypt"]!=0) $security.=' encrypt_'.$this->security["encrypt"].'bit';
|
| 604 |
|
if(count($this->security["allow"])>0) {
|
| 605 |
|
$permissions=$this->security["allow"];
|