first commit

This commit is contained in:
Konstantin
2026-05-30 09:27:58 +03:00
commit de0344d218
2371 changed files with 661486 additions and 0 deletions
+16
View File
@@ -0,0 +1,16 @@
<?php
class ModelSettingStore extends Model {
public function getStores() {
$store_data = $this->cache->get('store');
if (!$store_data) {
$query = $this->db->query("SELECT * FROM " . DB_PREFIX . "store ORDER BY url");
$store_data = $query->rows;
$this->cache->set('store', $store_data);
}
return $store_data;
}
}