mirror of
https://github.com/claudehohl/Stikked.git
synced 2025-04-25 20:41:20 -05:00
adding session_id
This commit is contained in:
parent
1b8e236e49
commit
83fac19ebe
@ -152,9 +152,18 @@ class Main extends CI_Controller
|
||||
}
|
||||
|
||||
//check if field session_id exists
|
||||
//todo
|
||||
|
||||
|
||||
if (!$this->db->field_exists('session_id', 'pastes'))
|
||||
{
|
||||
$fields = array(
|
||||
'session_id' => array(
|
||||
'type' => 'VARCHAR',
|
||||
'constraint' => 40,
|
||||
'null' => TRUE,
|
||||
) ,
|
||||
);
|
||||
$this->dbforge->add_column('pastes', $fields);
|
||||
}
|
||||
}
|
||||
|
||||
function _form_prep($lang = false, $title = '', $paste = '', $reply = false)
|
||||
|
Loading…
x
Reference in New Issue
Block a user