Skip to content

Commit

Permalink
fix: migrate new folder structure
Browse files Browse the repository at this point in the history
  • Loading branch information
modelrailroader authored and thorsten committed Jul 8, 2023
1 parent 08a6d3a commit fa58307
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions phpmyfaq/setup/index.php
Original file line number Diff line number Diff line change
Expand Up @@ -53,8 +53,8 @@

require PMF_ROOT_DIR . '/src/libs/autoload.php';
require PMF_ROOT_DIR . '/src/constants.php';
require PMF_ROOT_DIR . '/config/constants.php';
require PMF_ROOT_DIR . '/config/constants_elasticsearch.php';
require PMF_ROOT_DIR . '/content/core/config/constants.php';
require PMF_ROOT_DIR . '/content/core/config/constants_elasticsearch.php';

$loader = new ClassLoader();
$loader->add('phpMyFAQ', PMF_SRC_DIR);
Expand Down Expand Up @@ -332,7 +332,7 @@ class="form-control" placeholder="127.0.0.1:9200">
<div class="col-sm-9">
<select name="language" id="language" class="form-control">
<?php
if ($dir = opendir(PMF_ROOT_DIR . '/lang')) {
if ($dir = opendir(PMF_ROOT_DIR . '/translations')) {
$options = [];
while ($dat = readdir($dir)) {
$option = '';
Expand Down

0 comments on commit fa58307

Please sign in to comment.