Add files via upload
This commit is contained in:
35
z_ayou/hook/post_start_init.htm
Normal file
35
z_ayou/hook/post_start_init.htm
Normal file
@@ -0,0 +1,35 @@
|
||||
// 这里是为 更新数据时 提供数组,发表时由于没有数据所以必须为空
|
||||
if($route == 'thread' && $action == 'create') {
|
||||
$pa = '';
|
||||
$pb = '';
|
||||
$pc = '';
|
||||
$pd = '';
|
||||
$pe = '';
|
||||
$pf = '';
|
||||
$pg = '';
|
||||
$ph = '';
|
||||
$pi = '';
|
||||
$pj = '';
|
||||
} elseif($route == 'post' && $action == 'update') {
|
||||
$pa = $post['pa'];
|
||||
$pb = $post['pb'];
|
||||
$pc = $post['pc'];
|
||||
$pd = $post['pd'];
|
||||
$pe = $post['pe'];
|
||||
$pf = $post['pf'];
|
||||
$pg = $post['pg'];
|
||||
$ph = $post['ph'];
|
||||
$pi = $post['pi'];
|
||||
$pj = $post['pj'];
|
||||
} elseif($route == 'post' && $action == 'create') {
|
||||
$pa = '';
|
||||
$pb = '';
|
||||
$pc = '';
|
||||
$pd = '';
|
||||
$pe = '';
|
||||
$pf = '';
|
||||
$pg = '';
|
||||
$ph = '';
|
||||
$pi = '';
|
||||
$pj = '';
|
||||
}
|
Reference in New Issue
Block a user