diff --git a/htdocs/application/models/pastes.php b/htdocs/application/models/pastes.php index 3b00c12..9c1bcb2 100644 --- a/htdocs/application/models/pastes.php +++ b/htdocs/application/models/pastes.php @@ -297,7 +297,7 @@ class Pastes extends CI_Model //diff //yes, I'm aware, two times htmlspecialchars_decode(). Needs to be, since it's saved that way in the DB from the original stikked author ages ago ;) - include_once ('./application/libraries/finediff.php'); + include_once (APPPATH.'/libraries/finediff.php'); $from_text = htmlspecialchars_decode(utf8_decode($row['raw'])); $to_text = htmlspecialchars_decode(utf8_decode($data['raw'])); $opcodes = FineDiff::getDiffOpcodes($from_text, $to_text, FineDiff::$wordGranularity); diff --git a/htdocs/themes/default/views/view/qr.php b/htdocs/themes/default/views/view/qr.php index 8f6a95b..9962f55 100644 --- a/htdocs/themes/default/views/view/qr.php +++ b/htdocs/themes/default/views/view/qr.php @@ -4,7 +4,7 @@ * Function list: * Classes list: */ -require_once ('./'.APPPATH.'/libraries/phpqrcode/qrlib.php'); +require_once (APPPATH.'/libraries/phpqrcode/qrlib.php'); $qrurl = $url; if ($snipurl != false) diff --git a/htdocs/themes/stikkedizr/views/view/qr.php b/htdocs/themes/stikkedizr/views/view/qr.php index 8f6a95b..9962f55 100644 --- a/htdocs/themes/stikkedizr/views/view/qr.php +++ b/htdocs/themes/stikkedizr/views/view/qr.php @@ -4,7 +4,7 @@ * Function list: * Classes list: */ -require_once ('./'.APPPATH.'/libraries/phpqrcode/qrlib.php'); +require_once (APPPATH.'/libraries/phpqrcode/qrlib.php'); $qrurl = $url; if ($snipurl != false)