Explorar o código

Add files via upload

Capitan Cloud %!s(int64=2) %!d(string=hai) anos
pai
achega
824643b2f7
Modificáronse 1 ficheiros con 2 adicións e 0 borrados
  1. 2 0
      Private/scripts/home.php

+ 2 - 0
Private/scripts/home.php

@@ -766,9 +766,11 @@
      
 <script src="static/js/home-js.php?hl=<?PHP echo($lang);?>&av=<?PHP echo(AVATAR_NAME);?>&cv=<?PHP echo($CURRENT_VIEW);?>&cu=<?PHP echo($CUDOZ);?>" type="text/javascript"></script>
 
+<?PHP if ($CURRENT_VIEW == PUBLIC_VIEW): ?>  
 <?php if (file_exists(APP_PATH . DIRECTORY_SEPARATOR . "metrics.html")): ?>
 <?php include(APP_PATH . DIRECTORY_SEPARATOR . "metrics.html"); ?> 
 <?php endif; ?>
+<?php endif; ?>
 
 </body>
 </html>