$query = ‘INSERT INTO table_name (`field1`, `field2 `, `content`, `created_at`) values ‘ ….
$conn = Doctrine_Manager::connection();
$pdo = $conn->execute($query);
Showing posts with label symfony. Show all posts
Showing posts with label symfony. Show all posts
Enable logging in the Symfony production environment
To enable symfony logging edit the file apps/frontend/config/settings.yml
prod:
.settings:
logging_enabled: on
|
edit apps/frontend/config/factories.yml
prod:
logger:
class:
sfAggregateLogger
param:
level: debug
|
Subscribe to:
Posts (Atom)