[CORE] Move public resources to a /public directory
Advantages: * Increases security by preventing direct access to file/ * We are careful and have a defined('GNUSOCIAL') || die() to prevent direct access to GS files, but we may miss one or a vendor/extlib may not be as careful * Improves directory structure - It's more natural to physically separate what is public from what are GNU social resources
This commit is contained in:
@@ -1,21 +0,0 @@
|
||||
// Update the local timeline from a Meteor server
|
||||
|
||||
var MeteorUpdater = function()
|
||||
{
|
||||
return {
|
||||
|
||||
init: function(server, port, scheme, timeline)
|
||||
{
|
||||
Meteor.callbacks["process"] = function(data) {
|
||||
RealtimeUpdate.receive(JSON.parse(data));
|
||||
};
|
||||
|
||||
Meteor.host = server;
|
||||
Meteor.port = port;
|
||||
Meteor.scheme = scheme;
|
||||
Meteor.joinChannel(timeline, 0);
|
||||
Meteor.connect();
|
||||
}
|
||||
}
|
||||
}();
|
||||
|
Reference in New Issue
Block a user