protected function _rawExecute($action = null, $type = 'mysql')
{
$sqlDirectory = new Directory();
$sqlDirectory->init($this->_directory . '/' . $type . '/' . $action);
$sqlArray = $sqlDirectory->getArray();
/* process sql */
foreach ($sqlArray as $file) {
$query = file_get_contents($this->_directory . '/' . $type . '/' . $action . '/' . $file);
if ($query) {
if ($this->_config->get('dbPrefix')) {
$query = str_replace($this->_prefixPlaceholder, $this->_config->get('dbPrefix'), $query);
}
Db::rawExecute($query);
}
}
}