Commit d68b0376 authored by Matt Lee's avatar Matt Lee

disable this function for now, use templating displayError instead

parent 5d1df35b
......@@ -24,12 +24,12 @@ require_once($install_path . '/templating.php');
require_once($install_path . '/data/Server.php');
require_once($install_path . '/data/clientcodes.php');
function displayError($error_msg) {
global $smarty;
$smarty->assign('error_msg', $error_msg);
$smarty->display('api_auth.tpl');
exit();
}
// function displayError($error_msg) {
// global $smarty;
// $smarty->assign('error_msg', $error_msg);
// $smarty->display('api_auth.tpl');
// exit();
// }
$smarty->assign('site_name', $site_name);
if ($logged_in) {
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment