...

View Full Version : Resolved Please assist with syntax issue..



Daniellez
03-04-2009, 10:45 PM
What's wrong with this?

$tpl->setDir('$_SERVER["DOCUMENT_ROOT"] . "/products/templates/'.$style.'/"');

devinemke
03-04-2009, 10:56 PM
$tpl->setDir($_SERVER['DOCUMENT_ROOT'] . '/products/templates/' . $style . '/');

Daniellez
03-04-2009, 11:31 PM
$tpl->setDir($_SERVER["DOCUMENT_ROOT"] . "/eDeliveries/templates/".$style."/");

Yours didn't work for some reason? Nonetheless, the above worked.



EZ Archive Ads Plugin for vBulletin Copyright 2006 Computer Help Forum