|
|
|
@ -41,13 +41,6 @@ class home_model extends \tts\model { |
|
|
|
} |
|
|
|
} |
|
|
|
|
|
|
|
|
|
|
|
public function populate($rows): void { |
|
|
|
public function populate($rows): void { |
|
|
|
if (defined('FW_DIST')) { |
|
|
|
|
|
|
|
$tts_arrays = FW_DIST . '/tts_arrays.php'; |
|
|
|
|
|
|
|
if (!class_exists('\tts\rnd_names') && file_exists($tts_arrays)) { |
|
|
|
|
|
|
|
require_once $tts_arrays; |
|
|
|
|
|
|
|
} |
|
|
|
|
|
|
|
} |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
$dummy = new \tts\dummy_data($this->pdo); |
|
|
|
$dummy = new \tts\dummy_data($this->pdo); |
|
|
|
$data = [ 'first_name' => \tts\rnd_names::get_first_names(), |
|
|
|
$data = [ 'first_name' => \tts\rnd_names::get_first_names(), |
|
|
|
'last_name' => \tts\rnd_names::get_last_names(), |
|
|
|
'last_name' => \tts\rnd_names::get_last_names(), |
|
|
|
|