insert into qa_posts set type='A',parentid='12',userid='1',created=now(),format='html',content='add answers',notify='@';
$fp = fopen(QA_INCLUDE_DIR."error.txt",'a');
fwrite($fp,print_r($qa_modules[$type],true));
q2a 不能写到当前路径什么的.要用QA_INDCLUDE_DIR
qa-page-token.php 设置浏览器不能读 权限设置
// file_put_contents(QA_INCLUDE_DIR."error.txt", $qa_modules,FILE_APPEND);
//fwrite($fp,print_r($obj,true));
$qa_content=qa_content_prepare();
$qa_content['weilu']['items'][0]['label']='
admin';
$qa_content['weilu']['items'][0]['content']='Do what you want, learning by doing!';
return $qa_content;
function weilu($weilu)
{
$this->output('
'.$weilu['items'][0]['label'].'
');
$this->output('
'.$weilu['items'][0]['content'].'
');
}
.qa-part-weilu{
background-color: transparent;
background-image: url('');
background-repeat: repeat-x;
background-position: left bottom;
padding: 16px 0;
clear: both;
float: left;
width: 100%;
}
阅读(1289) | 评论(0) | 转发(0) |