4 lines
147 B
PHP
4 lines
147 B
PHP
<?php
|
|
$page = str_replace(".php","",basename($_SERVER['SCRIPT_FILENAME']));
|
|
?>
|
|
<script type="text/javascript" src="js/<?=$page?>.js"></script>
|