Exemplo n.º 1
0
 function install()
 {
     $this->set_posted_template();
     $result = parent::install();
     $this->save_options($this->options_array);
     return $result;
 }
Exemplo n.º 2
0
 function install()
 {
     $result = parent::install();
     $this->options_array['admin_key'] = tep_create_random_value($this->options_array['admin_key_length'], 'chars_lower');
     $this->save_options($this->options_array);
     return $result;
 }
Exemplo n.º 3
0
 function install()
 {
     extract(tep_load('database', 'message_stack'));
     $cStrings =& $this->strings;
     $result = false;
     $this->delete_references();
     $result = $db->file_exec($this->sql_file);
     if (!$result) {
         $msg->add_session(sprintf($cStrings->ERROR_INVALID_DATABASE_FILE, $this->sql_file));
         return $result;
     }
     $this->create_references();
     $this->set_posted_template();
     $result = parent::install();
     $this->save_options($this->options_array);
     return $result;
 }
Exemplo n.º 4
0
 function install()
 {
     $result = parent::install();
     $this->save_options($this->options_array);
     return $result;
 }