1
0
mirror of https://github.com/phpbb/phpbb.git synced 2025-06-16 06:09:40 +02:00

[feature/migrations] Move test.php -> install/database_update_migrations.php

This should be used as a basis for the database updater using migrations.

PHPBB3-9737
This commit is contained in:
Nathan Guse
2013-01-10 15:14:16 -06:00
parent d50500860f
commit 63780bda8d

View File

@ -17,7 +17,7 @@ use Symfony\Component\DependencyInjection\Loader\YamlFileLoader;
* @ignore * @ignore
*/ */
define('IN_PHPBB', true); define('IN_PHPBB', true);
$phpbb_root_path = (defined('PHPBB_ROOT_PATH')) ? PHPBB_ROOT_PATH : './'; $phpbb_root_path = (defined('PHPBB_ROOT_PATH')) ? PHPBB_ROOT_PATH : './../';
$phpEx = substr(strrchr(__FILE__, '.'), 1); $phpEx = substr(strrchr(__FILE__, '.'), 1);
require($phpbb_root_path . 'includes/startup.' . $phpEx); require($phpbb_root_path . 'includes/startup.' . $phpEx);