Revision 7922
Added by Aaron Marcuse-Kubitza almost 12 years ago
web/vegpath/index.php | ||
---|---|---|
175 | 175 |
"http://sweetgum.nybg.org/ih/")); |
176 | 176 |
print("</blockquote>\n"); |
177 | 177 |
} |
178 |
|
|
179 |
if (ends_with($alias, '#')) # URL shortener requires fragment redirect |
|
180 |
{ |
|
178 | 181 |
?> |
179 | 182 |
<script type="text/javascript"> |
180 | 183 |
var loc = document.location |
... | ... | |
186 | 189 |
document.location = fragment |
187 | 190 |
} |
188 | 191 |
</script> |
192 |
<?php |
|
193 |
} |
|
194 |
?> |
|
189 | 195 |
</blockquote> |
190 | 196 |
</body> |
191 | 197 |
</html> |
Also available in: Unified diff
web/vegpath/index.php: URL fragment redirect: Only perform fragment redirect if URL shortener requires it (as indicated by the $alias ending in #)