How can a ‘scripts’ directory be hooked into wp_head();?

You use wp_enqueue_script for Javascript files in your theme functions.php files. I suggest wrapping up all the requests in a function and hook it like so

add_action( 'wp_enqueue_scripts', 'script_enqueuer' );

Hata!: SQLSTATE[HY000] [1045] Access denied for user 'divattrend_liink'@'localhost' (using password: YES)