Error thrown

Undefined constant "template_directory"