first commit
This commit is contained in:
15
application/libraries/Pdf.php
Normal file
15
application/libraries/Pdf.php
Normal file
@ -0,0 +1,15 @@
|
||||
<?php if (!defined('BASEPATH')) exit('No direct script access allowed');
|
||||
|
||||
require_once APPPATH . '/third_party/tcpdf/tcpdf.php';
|
||||
|
||||
class Pdf extends TCPDF
|
||||
{
|
||||
function __construct($orientation = 'P', $unit = 'mm', $format = 'A4', $unicode = true, $encoding = 'UTF-8', $diskcache = false, $pdfa = false)
|
||||
{
|
||||
parent::__construct($orientation, $unit, $format, $unicode, $encoding, $diskcache, $pdfa);
|
||||
}
|
||||
|
||||
function header()
|
||||
{
|
||||
}
|
||||
}
|
||||
11
application/libraries/index.html
Normal file
11
application/libraries/index.html
Normal file
@ -0,0 +1,11 @@
|
||||
<!DOCTYPE html>
|
||||
<html>
|
||||
<head>
|
||||
<title>403 Forbidden</title>
|
||||
</head>
|
||||
<body>
|
||||
|
||||
<p>Directory access is forbidden.</p>
|
||||
|
||||
</body>
|
||||
</html>
|
||||
8
application/libraries/pdf2.php
Normal file
8
application/libraries/pdf2.php
Normal file
@ -0,0 +1,8 @@
|
||||
<?php
|
||||
class pdf {
|
||||
|
||||
function __construct() {
|
||||
include_once APPPATH . '/third_party/fpdf/fpdf.php';
|
||||
}
|
||||
}
|
||||
?>
|
||||
Reference in New Issue
Block a user