mirror of
https://git.tt-rss.org/git/tt-rss.git
synced 2025-12-13 05:05:56 +00:00
remove a lot of stuff from global context (functions.php), add a few helper classes instead
This commit is contained in:
@@ -21,7 +21,7 @@
|
||||
|
||||
if (!init_plugins()) return;
|
||||
|
||||
login_sequence();
|
||||
UserHelper::login_sequence();
|
||||
|
||||
header('Content-Type: text/html; charset=utf-8');
|
||||
?>
|
||||
@@ -43,7 +43,7 @@
|
||||
const __csrf_token = "<?php echo $_SESSION["csrf_token"]; ?>";
|
||||
</script>
|
||||
|
||||
<?php print_user_stylesheet() ?>
|
||||
<?php UserHelper::print_user_stylesheet() ?>
|
||||
|
||||
<link rel="shortcut icon" type="image/png" href="images/favicon.png"/>
|
||||
<link rel="icon" type="image/png" sizes="72x72" href="images/favicon-72px.png" />
|
||||
|
||||
Reference in New Issue
Block a user