summaryrefslogtreecommitdiffstats
path: root/php-tcpdf_badpath.patch
diff options
context:
space:
mode:
Diffstat (limited to 'php-tcpdf_badpath.patch')
-rw-r--r--php-tcpdf_badpath.patch22
1 files changed, 0 insertions, 22 deletions
diff --git a/php-tcpdf_badpath.patch b/php-tcpdf_badpath.patch
deleted file mode 100644
index a04987c..0000000
--- a/php-tcpdf_badpath.patch
+++ /dev/null
@@ -1,22 +0,0 @@
-diff -up tcpdf/tcpdf.php.patch tcpdf/tcpdf.php
---- tcpdf/tcpdf.php.patch 2013-05-09 11:18:50.076930131 +0200
-+++ tcpdf/tcpdf.php 2013-05-09 11:21:06.140921148 +0200
-@@ -13427,8 +13427,7 @@ class TCPDF {
- ++$this->n; // signature object ($this->sig_obj_id + 1)
- $this->signature_data = array();
- if (strlen($signing_cert) == 0) {
-- $signing_cert = 'file://'.dirname(__FILE__).'/config/cert/tcpdf.crt';
-- $private_key_password = 'tcpdfdemo';
-+ throw new RuntimeException('Please provide a certificate file and password!');
- }
- if (strlen($private_key) == 0) {
- $private_key = $signing_cert;
-@@ -18811,7 +18810,7 @@ Putting 1 is equivalent to putting 0 and
- if (isset($tag['attribute']['action'])) {
- $this->form_action = $tag['attribute']['action'];
- } else {
-- $this->form_action = K_PATH_URL.$_SERVER['SCRIPT_NAME'];
-+ throw new RuntimeException('Please explicitly set action attribute path!');
- }
- if (isset($tag['attribute']['enctype'])) {
- $this->form_enctype = $tag['attribute']['enctype'];