Skip to content

Commit

Permalink
Merge pull request #89 from UTCGilligan/feature/UTCT-86-404-different…
Browse files Browse the repository at this point in the history
…-hook

UTCT-86: Change hook to make compatible with 404 plugin.
  • Loading branch information
UTCGilligan authored Apr 25, 2024
2 parents e1a4956 + 8be3b3f commit 9540abf
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion 404.php
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@
<div class="col-12 col-lg-10 col-xl-8 col-xxl-5 mt-5">
<div class="card border-0 mt-5">
<div class="text-center">
<img src="frontend/assets/svg/utc-wordmark-reverse.svg" alt="UTC Logo" width="300px" style="margin-top:-4rem;">
<img src="<?php $_SERVER['DOCUMENT_ROOT'] ?>/frontend/assets/svg/utc-wordmark-reverse.svg" alt="UTC Logo" width="300px" style="margin-top:-4rem;">
</div>
<div class="card-body px-md-5">
<h1>Sorry,</h1>
Expand Down
2 changes: 1 addition & 1 deletion user/plugins/seans-qrcode/plugin.php
Original file line number Diff line number Diff line change
Expand Up @@ -42,7 +42,7 @@ class LogoOptions extends QROptions{
}

// Kick in if the loader does not recognize a valid pattern
yourls_add_action( 'loader_failed', 'sean_yourls_qrcode' );
yourls_add_action( 'redirect_keyword_not_found', 'sean_yourls_qrcode' );
function sean_yourls_qrcode( $request ) {
// Get authorized charset in keywords and make a regexp pattern
$pattern = yourls_make_regexp_pattern( yourls_get_shorturl_charset() );
Expand Down

0 comments on commit 9540abf

Please sign in to comment.