This repository was archived by the owner on May 19, 2025. It is now read-only.
File tree Expand file tree Collapse file tree 1 file changed +5
-5
lines changed
Expand file tree Collapse file tree 1 file changed +5
-5
lines changed Original file line number Diff line number Diff line change 33Plugin Name: HTTP:BL
44Plugin URI: https://github.com/joshp23/YOURLS-httpBL
55Description: An implementation of Project Honeypot's http:BL for YOURLS
6- Version: 2.0.4
6+ Version: 2.0.5
77Author: Josh Panter
88Author URI: https://unfettered.net
99**/
@@ -24,12 +24,12 @@ function httpBL_add_pages() {
2424// Maybe insert some JS and CSS files to head
2525yourls_add_action ( 'html_head ' , 'httpBL_head ' );
2626function httpBL_head () {
27- if ( YOURLS_JP23_HEAD_FILES == null ) {
27+ if ( defined ( ' YOURLS_JP23_HEAD_FILES ' ) == false ) {
2828 define ( 'YOURLS_JP23_HEAD_FILES ' , true );
29-
29+ $ home = YOURLS_SITE ;
3030 echo "\n<! --------------------------JP23_HEAD_FILES Start-------------------------- > \n" ;
31- echo "<link rel= \"stylesheet \" href= \"" .yourls_site_url () ."/css/infos.css?v= " .YOURLS_VERSION ."\" type= \"text/css \" media= \"screen \" /> \n" ;
32- echo "<script src= \"" .yourls_site_url () ."/js/infos.js?v= " .YOURLS_VERSION ."\" type= \"text/javascript \"></script> \n" ;
31+ echo "<link rel= \"stylesheet \" href= \"" .$ home ."/css/infos.css?v= " .YOURLS_VERSION ."\" type= \"text/css \" media= \"screen \" /> \n" ;
32+ echo "<script src= \"" .$ home ."/js/infos.js?v= " .YOURLS_VERSION ."\" type= \"text/javascript \"></script> \n" ;
3333 echo "<! --------------------------JP23_HEAD_FILES END---------------------------- > \n" ;
3434 }
3535}
You can’t perform that action at this time.
0 commit comments