$fp = fopen("../tmp/logfile.txt","a+"); fwrite($fp,"Debug line ".__LINE__." file ".__FILE__."\n"); fclose($fp); //$contributors = $wikilib->get_contributors($page, $info['user']); $fp = fopen("../tmp/logfile.txt","a+"); fwrite($fp,"Debug line ".__LINE__." file ".__FILE__."\n"); fclose($fp); //$smarty->assign('contributors',$contributors);