--- share/pnp/application/controllers/pdf.php.orig 2026-11-20 20:11:05 UTC
+++ share/pnp/application/controllers/pdf.php
@@ -28,6 +28,7 @@ class Pdf_Controller extends System_Controller
public function __construct()
{
parent::__construct();
+ exit;
$this->use_bg = 0;
$this->bg = $this->config->conf['background_pdf'];
@@ -52,6 +53,7 @@ class Pdf_Controller extends System_Controller
public function index()
{
+ exit;
$this->tpl = pnp::clean($this->input->get('tpl'));
$this->type = "normal";
@@ -153,6 +155,7 @@ class Pdf_Controller extends System_Controller
public function page($page)
{
+ exit;
$this->start = $this->input->get('start');
$this->end = $this->input->get('end');
$this->view = "";
@@ -218,6 +221,7 @@ class Pdf_Controller extends System_Controller
public function basket()
{
+ exit;
$this->start = $this->input->get('start');
$this->end = $this->input->get('end');
$this->view = "";
--- share/pnp/application/models/rrdtool.php.orig 2026-11-20 20:13:58 UTC
+++ share/pnp/application/models/rrdtool.php
@@ -128,6 +128,7 @@ class Rrdtool_Model extends System_Model
$width = 0;
$height = 0;
if ($out == 'PDF') {
+ exit;
if ($conf['pdf_graph_opt']) {
$command .= $conf['pdf_graph_opt'];
}
--- share/pnp/application/views/icon_box.php.orig 2026-11-20 20:14:59 UTC
+++ share/pnp/application/views/icon_box.php
@@ -9,24 +9,6 @@ if ($this->config->conf['use_calendar']) {
if ($this->config->conf['use_calendar']) {
echo '
';
}
-if ($this->config->conf['use_fpdf'] == 1 && ( $position == 'graph' || $position == 'special')) {
- echo '
\n";
-}
-if ($this->config->conf['use_fpdf'] == 1 && $position == 'basket') {
- echo '
\n";
-}
-if ($this->config->conf['use_fpdf'] == 1 && $position == 'page') {
- echo '
\n";
-}
if ($this->config->conf['show_xml_icon'] == 1 && $position == 'graph' && $xml_icon == true) {
$qsa = pnp::addToUri([], false);
echo '