<?php
-require_once("Photo.php");
+require_once("include/Photo.php");
function profile_photo_init(&$a) {
$a->config['imagecrop'] = $hash;
$a->config['imagecrop_resolution'] = $smallest;
$a->config['imagecrop_ext'] = $ph->getExt();
- $a->page['htmlhead'] .= get_markup_template("crophead.tpl");
- $a->page['end'] .= get_markup_template("cropend.tpl");
+ $a->page['htmlhead'] .= replace_macros(get_markup_template("crophead.tpl"), array());
+ $a->page['end'] .= replace_macros(get_markup_template("cropend.tpl"), array());
return;
}}