|
|
@@ -1,32 +0,0 @@
|
|
|
-<?php
|
|
|
-/**
|
|
|
- * Site Configuration
|
|
|
- */
|
|
|
-
|
|
|
-// Database settings
|
|
|
-define('DB_HOST', 'localhost');
|
|
|
-define('DB_NAME', 'website');
|
|
|
-define('DB_USER', 'root');
|
|
|
-define('DB_PASS', '');
|
|
|
-
|
|
|
-// Site settings
|
|
|
-define('SITE_TITLE', 'Publication System');
|
|
|
-define('DEFAULT_LANGUAGE', 'en');
|
|
|
-
|
|
|
-// LDAP settings
|
|
|
-define('LDAP_ENABLED', false);
|
|
|
-define('LDAP_HOST', 'localhost');
|
|
|
-define('LDAP_PORT', 389);
|
|
|
-define('LDAP_BASE_DN', 'dc=example,dc=com');
|
|
|
-define('LDAP_BIND_DN', 'cn=admin,dc=example,dc=com');
|
|
|
-define('LDAP_BIND_PASS', '');
|
|
|
-define('LDAP_USER_FILTER', '(objectClass=person)');
|
|
|
-
|
|
|
-// Security settings
|
|
|
-define('SESSION_LIFETIME', 3600); // 1 hour
|
|
|
-define('PASSWORD_MIN_LENGTH', 8);
|
|
|
-
|
|
|
-// Error reporting
|
|
|
-error_reporting(E_ALL);
|
|
|
-ini_set('display_errors', 1);
|
|
|
-?>
|