<?php
/***************************************************************************
- * Copyright (C) 2003-2009 Polytechnique.org *
+ * Copyright (C) 2003-2010 Polytechnique.org *
* http://opensource.polytechnique.org/ *
* *
* This program is free software; you can redistribute it and/or modify *
$page = $this->getPage($curpage);
}
if ($mode == 'ajax') {
- header('Content-Type: text/html; charset=utf-8');
+ pl_content_headers("text/html");
$smarty->changeTpl($this->layout, NO_SKIN);
$smarty->assign('wiz_run_ajax', true);
} else {