4
0
Эх сурвалжийг харах

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 жил өмнө
parent
commit
b8094f8044
2 өөрчлөгдсөн 1 нэмэгдсэн , 1 устгасан
  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