function get($pi='')
{
// non 'json' request...
+
if (!isset($_REQUEST['ajax_body'])) {
$this->title = "Browse: " . $pi;
return;
}
-
- DB_DataObject::debugLevel(1);
+
$p = DB_DataObject::Factory('Mtrack_wiki');
$p->project_id = $this->currentProject();
$px->project_id = $this->currentProject();
$px->orderBy('path');
- $pr = DB_DataObject::factory('Projects');
+ $pr = DB_DataObject::factory('core_project');
$pr->get($px->project_id);
$ar = $px->fetchAll('path');
function post()
{
-
+ DB_DataObject::debugLevel(1);
+
$au = $this->getAuthUser();
if (!$au) {
// autherr?