I renamed the header.sample.php into header.php and added the code like this:
Code:
<?php
if(!defined('access') or !access) die('This file cannot be directly accessed.');
/* Add here your custom header code */
<!-- my code -->
<script type="text/javascript">
...
...
etc.
</script>
<!-- my code -->
?>
But my Chevereto site becomes completely white. Do I do something wrong?
<?php if(!defined('access') or !access) die('This file cannot be directly accessed.'); ?>
/* Add here your custom header code */
<!-- my code -->
<script type="text/javascript">
...
...
etc.
</script>
<!-- my code -->
Sure works. But it's just below the </head> tag and not in between the <head></head> tags.
To be more precise the code btw is:
PHP:
<?php if(!defined('access') or !access) die('This file cannot be directly accessed.'); ?>
<!-- my code -->
<script type="text/javascript">
...
...
etc.
</script>
<!-- my code -->