Skip to content

Commit

Permalink
Update jquery, fix #15 - add robots file
Browse files Browse the repository at this point in the history
  • Loading branch information
Pryx committed Jan 18, 2018
1 parent d90eba2 commit fe02441
Show file tree
Hide file tree
Showing 4 changed files with 15 additions and 5 deletions.
4 changes: 0 additions & 4 deletions js/vendor/jquery-1.11.2.min.js

This file was deleted.

4 changes: 4 additions & 0 deletions js/vendor/jquery-3.2.1.min.js

Large diffs are not rendered by default.

10 changes: 10 additions & 0 deletions robots.txt
Original file line number Diff line number Diff line change
@@ -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

2 changes: 1 addition & 1 deletion template.php
Original file line number Diff line number Diff line change
Expand Up @@ -152,7 +152,7 @@ public static function render_footer($admin = false)
</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){?>
Expand Down

0 comments on commit fe02441

Please sign in to comment.