Please Help I install Icehrm work perfectly on localhost, but when I tried to connect from other computers in same network, its give an error unable to connect localhost/icehrm/apps/login.php: My config.php is:<?php
ini_set('error_log', '/tmp/icehrm.log');
//file upload
define('FILE_TYPES', 'jpg,png,jpeg');
define('MAX_FILE_SIZE_KB', 10 * 1024);
I think the config.php is send the client computer to localhost
Original report by Samuel Williams (Bitbucket: bromeo, GitHub: bromeo).
Please Help I install Icehrm work perfectly on localhost, but when I tried to connect from other computers in same network, its give an error unable to connect localhost/icehrm/apps/login.php: My config.php is:<?php ini_set('error_log', '/tmp/icehrm.log');
define('CLIENT_NAME', 'app'); define('APP_BASE_PATH', 'C:\xampp\htdocs\icehrm/'); define('CLIENT_BASE_PATH', 'C:\xampp\htdocs\icehrm\app/'); define('BASE_URL','http://localhost/icehrm/'); define('CLIENT_BASE_URL','http://localhost/icehrm/app/');
define('APP_DB', 'icehrm'); define('APP_USERNAME', 'root'); define('APP_PASSWORD', '1234'); define('APP_HOST', 'localhost'); define('APP_CON_STR', 'mysql://'.APP_USERNAME.':'.APP_PASSWORD.'@'.APP_HOST.'/'.APP_DB);
//file upload define('FILE_TYPES', 'jpg,png,jpeg'); define('MAX_FILE_SIZE_KB', 10 * 1024); I think the config.php is send the client computer to localhost