| 123456789101112 |
- <?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->exec($enData);
- }
- }
|