Update jquery, fix #15 - add robots file

This commit is contained in:
Vojtěch Sajdl 2018-01-18 22:42:42 +01:00
parent d90eba2a6f
commit fe02441c3d
No known key found for this signature in database
GPG Key ID: 082BC82518E5F32E
4 changed files with 15 additions and 5 deletions

File diff suppressed because one or more lines are too long

4
js/vendor/jquery-3.2.1.min.js vendored Normal file

File diff suppressed because one or more lines are too long

10
robots.txt Normal file
View File

@ -0,0 +1,10 @@
#PLEASE NOTE!
#This will work only if it is placed in root folder of your server!
#If you have Server status installed in a subfolder - for example:
#example.com/server-status - then you need to put the robots.txt
#file into the root folder and update the locations accordingly.
User-Agent: *
Allow: /
Disallow: /admin

View File

@ -152,7 +152,7 @@ class Template{
</div><!--/row -->
</div><!--/container -->
</div>
<script src="<?php echo WEB_URL;?>/js/vendor/jquery-1.11.2.min.js"></script>
<script src="<?php echo WEB_URL;?>/js/vendor/jquery-3.2.1.min.js"></script>
<script src="<?php echo WEB_URL;?>/js/vendor/jquery.timeago.js"></script>
<script src="<?php echo WEB_URL;?>/locale/<?php echo $_SESSION['locale'];?>/jquery.timeago.js"></script>
<?php if ($admin){?>