Jump to content
View in the app

A better way to browse. Learn more.

Froxlor Forum

A full-screen app on your home screen with push notifications, badges and more.

To install this app on iOS and iPadOS
  1. Tap the Share icon in Safari
  2. Scroll the menu and tap Add to Home Screen.
  3. Tap Add in the top-right corner.
To install this app on Android
  1. Tap the 3-dot menu (⋮) in the top-right corner of the browser.
  2. Tap Add to Home screen or Install app.
  3. Confirm by tapping Install.

Featured Replies

Hallo doop! ;)

Ich wollte mir gerade die PHP-Sessions über den Handler redis einrichten und habe dabei festgestellt, dass meine INI-Angabe 

session.save_path = "tcp://127.0.0.1:6379?database=0"

ignoriert wird. Im Quellcode habe ich dabei festgestellt, dass du am Gleichheitszeichen trennst und prüfst, ob das Ergebnis-Array zwei Einträge hat:

https://github.com/froxlor/Froxlor/blob/5beeae8fd1cd29c05099682946ec69fdc64759e7/lib/Froxlor/Cron/Http/Php/Fpm.php#L278

Das hat es in meinem Fall leider nicht. Deswegen habe ich die Explode-Zeile dahingehend angepasst, das am ersten Gleichzeitszeichen getrennt wird:

$is = explode("=", trim($inisection), 2);

Ich wollte hierfür nicht direkt einen Pull-Request aufmachen, weil ich mir nicht sicher bin, ob ich dadurch etwas anderes nicht bedenke!?

Wie siehst du das?

 

Viele Grüße! ;) 

hm, ja, sehr spezifischer fall, an "komplexe" uri's hat niemand so unbedingt gedacht, müsst ich ma überlegen wie man das sinnvoll validieren kann

ich glaub deine änderung sollte passen...und macht auch definitiv sinn das beim ersten = auf 2 entries im array aufzuteilen

  • Author

Dann kannst du dir im Anschluss auch dein count() sparen! :)

Create an account or sign in to comment

Configure browser push notifications

Chrome (Android)
  1. Tap the lock icon next to the address bar.
  2. Tap Permissions → Notifications.
  3. Adjust your preference.
Chrome (Desktop)
  1. Click the padlock icon in the address bar.
  2. Select Site settings.
  3. Find Notifications and adjust your preference.