(January xx, 2013 from https://github.com/Elgg/Elgg/tree/1.8)
Contributing Developers:
* Cash Costello
- * Cristo Rabani
+ * Kevin Jardine
+ * Krzysztof Różalski
Security Fixes:
+ Bugfixes:
+ * CLI usages with walled garden fixed
+
Enhancements:
- * Added confirm dialog for resetting profile fields (adds language string profile:resetdefault:confirm)
+ * Added confirm dialog for resetting profile fields (adds language string profile:resetdefault:confirm)
Version 1.8.12
public function checkWalledGarden() {
global $CONFIG;
+ // command line calls should not invoke the walled garden check
+ if (PHP_SAPI === 'cli') {
+ return;
+ }
+
if ($CONFIG->walled_garden) {
if ($CONFIG->default_access == ACCESS_PUBLIC) {
$CONFIG->default_access = ACCESS_LOGGED_IN;