Clean-room copy of the reusable engines from comiida, with all instance data, secrets, dependencies, and build output excluded: - app/ Astro theme skeleton (no comiida blog posts; hero image -> placeholder) - api/ SeedProject PHP framework (no vendor/.env/config.php) - content-pipeline/ engine only (scripts/admin/prompts; empty runtime state) - astroagent.config.json + app/.astroagent/skills Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01SYHWLHihq3v9nxNwoPCKSn
14 lines
No EOL
410 B
PHP
14 lines
No EOL
410 B
PHP
<?php
|
|
|
|
class Model {
|
|
|
|
function __construct() {
|
|
$this->db = new Database(DB_TYPE, DB_HOST, DB_NAME, DB_USER, DB_PASS);
|
|
$this->db->setAttribute( PDO::ATTR_EMULATE_PREPARES, false );
|
|
|
|
|
|
//$this->remotedb = new Database(DB_TYPE_REMOTE, DB_HOST_REMOTE, DB_NAME_REMOTE, DB_USER_REMOTE, DB_PASS_REMOTE);
|
|
//$this->remotedb->setAttribute( PDO::ATTR_EMULATE_PREPARES, false );
|
|
|
|
}
|
|
} |