123456789101112131415161718 |
- <?php
- ini_set('display_errors', 1);
- ini_set('display_startup_errors', 1);
- error_reporting(E_ALL);
- $config = [
- 'host' => 'localhost', // mysql hostname
- 'user' => 'login', // mysql username
- 'passwd' => 'password', // mysql password
- 'db' => 'database', // database name
- 'port' => '3306', // mysql port
- 'basedir' => '/home/user/public_html/obrazki/', // filesystem path (keep the trailing /)
- 'basepath' => '/obrazki/', // webroot path for scripts (keep the trailing /)
- 'imagepath' => '/obrazki/', // webroot path for image dirs (keep the trailing /)
- 'thumbnailpath' => '/obrazki/miniatury/', // webroot path for thumbnails (keep the trailing / and do not change for now)
- 'thumbnailsize' => 70, // thumbnail width in pixels, do not change for now)
- ];
- ?>
|