Skip to content

Commit

Permalink
Merge pull request #2 from markmuthii/frontend
Browse files Browse the repository at this point in the history
Fixed issue Flynntes#56: Frontend doesn't work properly
  • Loading branch information
Mireiawen authored Nov 9, 2020
2 parents e95ceff + c78b21c commit a5b225f
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 5 deletions.
2 changes: 1 addition & 1 deletion sleeky-frontend/frontend/config.php
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
// GENERAL

// Site URL (no trailing slash)
define('siteURL', $YOURLS_SITE);
define('siteURL', YOURLS_SITE);

// Page title for your site
define('title', 'Sleeky theme for YOURLS');
Expand Down
11 changes: 7 additions & 4 deletions sleeky-frontend/index.php
Original file line number Diff line number Diff line change
@@ -1,11 +1,14 @@
<?php include 'frontend/header.php'; ?>
<?php
// Start YOURLS engine
require_once( dirname(__FILE__).'/includes/load-yourls.php' );

include 'frontend/header.php';

?>

<body>

<?php
// Start YOURLS engine
require_once( dirname(__FILE__).'/includes/load-yourls.php' );

// URL of the public interface
$page = YOURLS_SITE . '/index.php' ;

Expand Down

0 comments on commit a5b225f

Please sign in to comment.