reference the config file without relying on working directory

This commit is contained in:
Daniel Winzen
2020-10-15 21:29:49 +02:00
parent e61be13015
commit 1827382524
16 changed files with 16 additions and 16 deletions

View File

@ -17,7 +17,7 @@
* You should have received a copy of the GNU General Public License
* along with this program. If not, see <http://www.gnu.org/licenses/>.
*/
require_once('common_config.php');
require_once(__DIR__.'/common_config.php');
if(!extension_loaded('pdo_mysql')){
die($I['pdo_mysqlextrequired']);
}