Fix API not working when parent script uses include with the same name
This commit is contained in:
1 parent
67c5c06461
commit
03727b01ce
7 files changed
+14
-12
No files matched your search
@@ -15,11 +15,11 @@ See the License for the specific language governing permissions and
|
||||
limitations under the License.
|
||||
*/
|
||||
|
||||
require_once 'shared/main.php';
|
||||
require_once 'shared/requests.php';
|
||||
require_once dirname(__FILE__).'/shared/main.php';
|
||||
require_once dirname(__FILE__).'/shared/requests.php';
|
||||
|
||||
function uupGetFiles($updateId = 'c2a1d787-647b-486d-b264-f90f3782cdc6', $usePack = 0, $desiredEdition = 0) {
|
||||
require 'shared/packs.php';
|
||||
require dirname(__FILE__).'/shared/packs.php';
|
||||
uupApiPrintBrand();
|
||||
|
||||
function packsByEdition($edition, $pack, $lang, $filesKeys) {
|
||||
|
||||
Reference in new issue
Block a user