diff --git a/src/ex/models/app/home_model.php b/src/ex/models/app/home_model.php index 398fe3a..e3d42ef 100644 --- a/src/ex/models/app/home_model.php +++ b/src/ex/models/app/home_model.php @@ -41,13 +41,6 @@ class home_model extends \tts\model { } 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); $data = [ 'first_name' => \tts\rnd_names::get_first_names(), 'last_name' => \tts\rnd_names::get_last_names(), diff --git a/src/main.php b/src/main.php index 877df01..1afef4a 100644 --- a/src/main.php +++ b/src/main.php @@ -1,5 +1,7 @@ pdo); $data = [ 'first_name' => \tts\rnd_names::get_first_names(), 'last_name' => \tts\rnd_names::get_last_names(),