silly bug fixed
This commit is contained in:
parent
cdea733854
commit
69c265fff9
|
@ -248,14 +248,14 @@ function createUserPDF($accounts) {
|
||||||
class lamPDF extends FPDF {
|
class lamPDF extends FPDF {
|
||||||
// Print page header
|
// Print page header
|
||||||
function header() {
|
function header() {
|
||||||
$lamPath = explode("/",$SCRIPT_NAME);
|
$lamPath = explode("/",__FILE__);
|
||||||
$i=0;
|
$i=1;
|
||||||
$imageFile = "";
|
$imageFile = "";
|
||||||
while($lamPath[$i] <> "lam") {
|
while($lamPath[$i] <> "lam") {
|
||||||
$imageFile .= "/" . $lamPath[$i];
|
$imageFile .= "/" . $lamPath[$i];
|
||||||
$i++;
|
$i++;
|
||||||
}
|
}
|
||||||
$imageFile .= "/graphics/printLogo.jpg";
|
$imageFile .= "/lam/graphics/printLogo.jpg";
|
||||||
$this->Image($imageFile,10,10,50,20,"JPG");
|
$this->Image($imageFile,10,10,50,20,"JPG");
|
||||||
$this->SetFont("arial","B",22);
|
$this->SetFont("arial","B",22);
|
||||||
$this->Cell(170,5,"LDAP Account Manager",0,1,"R",0);
|
$this->Cell(170,5,"LDAP Account Manager",0,1,"R",0);
|
||||||
|
|
Loading…
Reference in New Issue