Przeglądaj źródła

Move shares (#1812)

From ./data/ to ./app/
Fix manual updates like
https://github.com/FreshRSS/FreshRSS/issues/1803#issuecomment-369371907
Left for later: support a ./data/shares.local.php for user-defined
shares.
Alexandre Alapetite 8 lat temu
rodzic
commit
b8094f8044
2 zmienionych plików z 1 dodań i 1 usunięć
  1. 1 1
      app/FreshRSS.php
  2. 0 0
      app/shares.php

+ 1 - 1
app/FreshRSS.php

@@ -128,7 +128,7 @@ class FreshRSS extends Minz_FrontController {
 		}
 		header("X-Content-Type-Options: nosniff");
 
-		FreshRSS_Share::load(join_path(DATA_PATH, 'shares.php'));
+		FreshRSS_Share::load(join_path(APP_PATH, 'shares.php'));
 		self::loadStylesAndScripts();
 	}
 }

+ 0 - 0
data/shares.php → app/shares.php