first commit
This commit is contained in:
@@ -0,0 +1,10 @@
|
||||
<html>
|
||||
<head>
|
||||
<title>403 Forbidden</title>
|
||||
</head>
|
||||
<body>
|
||||
|
||||
<p>Directory access is forbidden.</p>
|
||||
|
||||
</body>
|
||||
</html>
|
||||
@@ -0,0 +1,22 @@
|
||||
<?php if (!defined('BASEPATH')) exit('No direct script access allowed');
|
||||
class m_pdf {
|
||||
|
||||
function m_pdf()
|
||||
{
|
||||
$CI = & get_instance();
|
||||
log_message('Debug', 'mPDF class is loaded.');
|
||||
}
|
||||
|
||||
function load($param=NULL)
|
||||
{
|
||||
include_once APPPATH.'/third_party/mpdf/mpdf.php';
|
||||
|
||||
if ($params == NULL)
|
||||
{
|
||||
$param = '"en-GB-x","A4","","",10,10,10,10,6,3';
|
||||
}
|
||||
|
||||
//return new mPDF($param);
|
||||
return new mPDF();
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user