From: <sy...@us...> - 2003-11-11 21:53:12
|
Update of /cvsroot/tikiwiki/tiki In directory sc8-pr-cvs1:/tmp/cvs-serv9921 Modified Files: tiki-admin_integrator_rules.php Log Message: feature integrator Index: tiki-admin_integrator_rules.php =================================================================== RCS file: /cvsroot/tikiwiki/tiki/tiki-admin_integrator_rules.php,v retrieving revision 1.16 retrieving revision 1.17 diff -u -d -r1.16 -r1.17 --- tiki-admin_integrator_rules.php 10 Nov 2003 16:28:33 -0000 1.16 +++ tiki-admin_integrator_rules.php 11 Nov 2003 21:53:09 -0000 1.17 @@ -8,7 +8,11 @@ require_once('tiki-setup.php'); require_once('lib/integrator/integrator.php'); - +if ($feature_integrator != 'y') { + $smarty->assign('msg', tra("This feature is disabled").": feature_integrator"); + $smarty->display("styles/$style_base/error.tpl"); + die; +} // Check permissions if (($tiki_p_admin_integrator != 'y') && ($tiki_p_admin != 'y')) { |