|
|
|
@ -338,7 +338,8 @@ class NetBiblio extends WebService
|
|
|
|
$books = array_map(function($b) {
|
|
|
|
$books = array_map(function($b) {
|
|
|
|
if(strlen($this->login) > 0 && isset($b['files']['zip']['uri'])) {
|
|
|
|
if(strlen($this->login) > 0 && isset($b['files']['zip']['uri'])) {
|
|
|
|
$key = 'babf2cfbe2633c3082f8cfffdb3d9008b4b3b300';
|
|
|
|
$key = 'babf2cfbe2633c3082f8cfffdb3d9008b4b3b300';
|
|
|
|
$hash = sha1($this->client.$this->login.$key.$b['code'].date('Ymd'));
|
|
|
|
$code = sprintf("%05u", $b['code']);
|
|
|
|
|
|
|
|
$hash = sha1($this->client.$this->login.$key.$code.date('Ymd'));
|
|
|
|
|
|
|
|
|
|
|
|
$b['files']['zip']['uri'] = str_replace(array(
|
|
|
|
$b['files']['zip']['uri'] = str_replace(array(
|
|
|
|
'{client}',
|
|
|
|
'{client}',
|
|
|
|
|