forked from indymedia/epicyon
fullscreen
parent
a496801a87
commit
2bb5d19904
|
@ -754,7 +754,7 @@ class PubServer(BaseHTTPRequestHandler):
|
||||||
'/emoji/' not in self.path and \
|
'/emoji/' not in self.path and \
|
||||||
'/tags/' not in self.path and \
|
'/tags/' not in self.path and \
|
||||||
'/avatars/' not in self.path and \
|
'/avatars/' not in self.path and \
|
||||||
'/fullscreen?' not in self.path and \
|
not self.path.startswith('/fullscreen') and \
|
||||||
'/icons/' not in self.path:
|
'/icons/' not in self.path:
|
||||||
divertToLoginScreen=True
|
divertToLoginScreen=True
|
||||||
if self.path.startswith('/users/'):
|
if self.path.startswith('/users/'):
|
||||||
|
@ -973,7 +973,7 @@ class PubServer(BaseHTTPRequestHandler):
|
||||||
return
|
return
|
||||||
|
|
||||||
# full screen images shown from the media timeline
|
# full screen images shown from the media timeline
|
||||||
if self.path.startswith('/fullscreen?'):
|
if self.path.startswith('/fullscreen'):
|
||||||
imageFilename=self.path.split('?img=')[1]
|
imageFilename=self.path.split('?img=')[1]
|
||||||
if '?' in imageFilename:
|
if '?' in imageFilename:
|
||||||
imageFilename=imageFilename.split('?')[0]
|
imageFilename=imageFilename.split('?')[0]
|
||||||
|
|
Loading…
Reference in New Issue