13 lines
405 B
PHP
13 lines
405 B
PHP
<?php
|
|
if($this->app->clientLang == 'en')
|
|
{
|
|
$enDataFile = $this->app->getAppRoot() . 'db' . DS . 'enflow.sql';
|
|
if(file_exists($enDataFile))
|
|
{
|
|
$enData = file_get_contents($enDataFile);
|
|
$enData = str_replace('`zt_', $this->config->db->name . '.`zt_', $enData);
|
|
$enData = str_replace('zt_', $this->config->db->prefix, $enData);
|
|
$this->dbh->query($enData);
|
|
}
|
|
}
|