firebase integration

This commit is contained in:
2026-05-22 16:16:34 +02:00
parent bf36c8561c
commit dacc9ce2bc
6 changed files with 204 additions and 3 deletions
+1 -1
View File
@@ -48,7 +48,7 @@ $t = $copy[$lang];
$allRecipes = load_recipes();
$slug = isset($_GET['slug']) ? trim($_GET['slug']) : '';
$recipeRaw = $slug ? find_recipe_by_slug($allRecipes, $slug) : null;
$recipeRaw = $slug ? load_recipe_by_slug($slug) : null;
$recipe = $recipeRaw ? localize_recipe($recipeRaw, $lang) : null;
$allRecipesLocal = localize_recipes($allRecipes, $lang);