1
0
mirror of https://github.com/phpbb/phpbb.git synced 2025-07-30 21:40:43 +02:00

Merge branch 'ticket/15392' into ticket/15392-master

This commit is contained in:
Marc Alexander
2021-03-04 17:04:17 +01:00
211 changed files with 395 additions and 396 deletions

View File

@@ -18,7 +18,7 @@
* If you overwrite the original schema files please make sure you save the file with UNIX linefeeds.
*/
$schema_path = dirname(__FILE__) . '/../install/schemas/';
$schema_path = __DIR__ . '/../install/schemas/';
$supported_dbms = array(
'mssql',
'mysql_41',
@@ -34,7 +34,7 @@ if (!is_writable($schema_path))
}
define('IN_PHPBB', true);
$phpbb_root_path = dirname(__FILE__) . '/../';
$phpbb_root_path = __DIR__ . '/../';
$phpEx = substr(strrchr(__FILE__, '.'), 1);
include($phpbb_root_path . 'vendor/autoload.php');

View File

@@ -34,7 +34,7 @@ $mode = $request->variable('mode', '');
$modules = find_modules($phpbb_root_path . 'language/en');
$kkeys = $keys = array();
$langdir = dirname(__FILE__);
$langdir = __DIR__;
if (isset($lang))
{

View File

@@ -191,4 +191,3 @@ foreach ($iterator as $file)
file_put_contents($file->getPathname(), $code);
}
}