Module: appdb Branch: master Commit: 152d6fc1acb0829f6d2d3ec8524ec20f79cd8d19 URL: http://source.winehq.org/git/appdb.git/?a=commit;h=152d6fc1acb0829f6d2d3ec85...
Author: Jeremy Newman jnewman@codeweavers.com Date: Fri Feb 3 11:02:44 2017 -0600
pass sWebRoot based on BASE to js
---
include/header.php | 3 +++ 1 file changed, 3 insertions(+)
diff --git a/include/header.php b/include/header.php index 57d4249..b36aec9 100644 --- a/include/header.php +++ b/include/header.php @@ -28,12 +28,15 @@ $iJStime = filemtime(BASE."js/utils.js"); <script src="https://code.jquery.com/jquery-2.2.3.min.js" type="text/javascript"></script> <script src="https://maxcdn.bootstrapcdn.com/bootstrap/3.3.6/js/bootstrap.min.js" integrity="sha384-0mSbJDEHialfmuBBQP6A4Qrprq5OVfW37PRR3j5ELqxss1yVqOtnepnHVP9aJ7xS" crossorigin="anonymous"></script> <script src="https://code.jquery.com/ui/1.11.4/jquery-ui.min.js" type="text/javascript"></script> + + <script>var sWebRoot = '<?php echo BASE; ?>';</script> <script src="<?php echo BASE; ?>js/utils.js?f=<?php echo $iJStime; ?>"></script> <?php // additional header code if (!empty($sHeaderCode)) echo " {$sHeaderCode}\n"; ?> + <link rel="shortcut icon" type="image/png" href="https://dl.winehq.org/share/images/winehq_logo_16.png"> <link title="AppDB" type="application/opensearchdescription+xml" rel="search" href="<?php echo BASE; ?>opensearch.xml"> </head>