gamonoid / icehrm

Manage your employees easily with a robust and efficient Human Resource Management System
http://icehrm.com
Other
579 stars 373 forks source link

Use of APP_BASE_PATH needs no more trailing slash #203

Closed paulbalandan closed 3 years ago

paulbalandan commented 4 years ago

The constant APP_BASE_PATH was configured to have a trailing slash. So, usage must refrain from adding another slash to the path.

Files affected: app/entry.php app/index.php app/update.php

Instead of include APP_BASE_PATH.'/'.$group.'/'.$name.'.php' the include must be APP_BASE_PATH.$group.'/'.$name.'.php'

The extra slash causes HTTP ERROR 500 on me.