This commit is contained in:
Joey Kimsey
2025-02-06 02:36:10 -05:00
parent d7ba0dbac0
commit fb6928b8af
6 changed files with 11 additions and 10 deletions

View File

@ -73,7 +73,7 @@ class DefaultLoader extends Loader {
size: 200,
margin: 10,
roundBlockSizeMode: RoundBlockSizeMode::Margin,
logoPath: APP_ROOT_DIRECTORY . DIRECTORY_SEPARATOR . Config::getValue( 'main/logo' ),
logoPath: APP_ROOT_DIRECTORY . DIRECTORY_SEPARATOR . 'images/logo.png',
logoResizeToWidth: 30,
logoPunchoutBackground: true,
labelText: Config::getValue( 'main/name' ),
@ -83,7 +83,7 @@ class DefaultLoader extends Loader {
$result = $builder->build();
$result->saveToFile( $folder . $filename );
}
Components::set( 'QR_CODE','<img src="{ROOT_URL}images/qr-codes/' . $filename . '" alt="QR Code" class="img-fluid mb-2">' );
Components::set( 'QR_CODE','<img src="/images/qr-codes/' . $filename . '" alt="QR Code" class="img-fluid mb-2">' );
} else {
Components::setIfNull( 'QR_CODE', '' );
}