<?php
// Simple test to check if login settings work
require_once 'application/config/database.php';

try {
    // Load CodeIgniter
    $CI =& get_instance();
    $CI->load->database();
    
    // Load the model
    $CI->load->model('Login_settings_model');
    
    // Test getting settings
    $settings = $CI->Login_settings_model->get_settings();
    
    echo "✅ Login settings loaded successfully!\n";
    echo "Sintillo: " . $settings->sintillo_image . "\n";
    echo "Background color: " . $settings->background_color . "\n";
    echo "Logo: " . $settings->logo_principal . "\n";
    
} catch (Exception $e) {
    echo "❌ Error: " . $e->getMessage() . "\n";
}
?>
