Our goal is a simple JR integration using PHP + Smarty, outside of JR framework, but still on our JR pro server.
--
If we create a root folder (outside of the JR framework) for example: http://OurSite/dev
How to include smarty in raw PHP - in this way - outside of JR framework, but still on our JR server?
--
Code Below Fails:
We assume the include is not valid.
How to include Smarty in raw PHP on our JR pro server?
--
include('Smarty.class.php');
// create object
$smarty = new Smarty;
// Simple Smarty Test:
$smarty->assign('name', 'george smith');
$smarty->assign('address', '45th & Broadway');
// display it
$smarty->display('index.tpl');
updated by @softdesigns: 06/14/17 07:56:49PM