- Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathjavascript.php
More file actions
Latest commit
13 lines (11 loc) · 455 Bytes
/
Copy pathjavascript.php
File metadata and controls
13 lines (11 loc) · 455 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
<?php
/*
* Include this file at the end of your template file, ideally after other
* script statements and before the closing </body> tag. The javascript helper
* will only kick in when jQuery is already included elsewhere.
*/
include_once(dirname(__FILE__) . '/config.php');
?>
<?phpif (empty($_COOKIE[$cookieNonsenseSettings['cookie_name']])): ?>
<script src="<?phpecho$cookieNonsenseSettings['webpath']; ?>/helper.js"></script>
<?phpendif; ?>