-
Notifications
You must be signed in to change notification settings - Fork 20
Expand file tree
/
Copy pathinstall.php
More file actions
25 lines (21 loc) · 792 Bytes
/
install.php
File metadata and controls
25 lines (21 loc) · 792 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
<?php
$addon = rex_addon::get('pdfout');
rex_dir::create($addon->getCachePath());
rex_dir::create(rex_path::addonCache('pdfout', 'fonts'));
// Erstelle Zertifikats-Verzeichnis
rex_dir::create($addon->getDataPath('certificates'));
// Erstelle Thumbnail-Cache-Verzeichnis
rex_dir::create($addon->getCachePath('thumbnails'));
// Standard-Konfiguration setzen
if (!$addon->hasConfig()) {
$addon->setConfig([
'default_certificate_path' => '',
'default_certificate_password' => '',
'enable_signature_by_default' => false,
'enable_password_protection_by_default' => false,
'default_signature_position_x' => 180,
'default_signature_position_y' => 60,
'default_signature_width' => 15,
'default_signature_height' => 15,
]);
}