1
0
mirror of https://git.tt-rss.org/git/tt-rss.git synced 2025-12-13 05:15:55 +00:00

remove a lot of stuff from global context (functions.php), add a few helper classes instead

This commit is contained in:
Andrew Dolgov
2020-09-22 09:04:33 +03:00
parent d04ac399ff
commit 74568df4ff
39 changed files with 1379 additions and 1473 deletions

View File

@@ -28,7 +28,7 @@
if (!init_plugins()) return;
login_sequence();
UserHelper::login_sequence();
header('Content-Type: text/html; charset=utf-8');
@@ -51,7 +51,7 @@
const __csrf_token = "<?php echo $_SESSION["csrf_token"]; ?>";
</script>
<?php print_user_stylesheet() ?>
<?php UserHelper::print_user_stylesheet() ?>
<style type="text/css">
<?php