diff options
| author | Andreas Fischer <bantu@phpbb.com> | 2011-10-16 20:16:12 +0200 |
|---|---|---|
| committer | Andreas Fischer <bantu@phpbb.com> | 2011-10-16 20:16:12 +0200 |
| commit | cc227cc6f66aa164705bf0e721558e3e6b75fd0f (patch) | |
| tree | f733ed55c289e7297f6e96e386c6f6555010de43 /phpBB/develop | |
| parent | 7813135365c5765f8bfc70afc26047fa4e4914a9 (diff) | |
| parent | 8d33dea2cdc68473fbcf3c45ac8bdbe8fd185054 (diff) | |
| download | forums-cc227cc6f66aa164705bf0e721558e3e6b75fd0f.tar forums-cc227cc6f66aa164705bf0e721558e3e6b75fd0f.tar.gz forums-cc227cc6f66aa164705bf0e721558e3e6b75fd0f.tar.bz2 forums-cc227cc6f66aa164705bf0e721558e3e6b75fd0f.tar.xz forums-cc227cc6f66aa164705bf0e721558e3e6b75fd0f.zip | |
Merge remote-tracking branch 'igorw/ticket/10413' into develop-olympus
* igorw/ticket/10413:
[ticket/10413] Fix CS
[ticket/10413] Make create_schema_files usable
Diffstat (limited to 'phpBB/develop')
| -rw-r--r-- | phpBB/develop/create_schema_files.php | 8 |
1 files changed, 2 insertions, 6 deletions
diff --git a/phpBB/develop/create_schema_files.php b/phpBB/develop/create_schema_files.php index 9ce5f72922..7f37b94453 100644 --- a/phpBB/develop/create_schema_files.php +++ b/phpBB/develop/create_schema_files.php @@ -12,11 +12,7 @@ * If you overwrite the original schema files please make sure you save the file with UNIX linefeeds. */ -die("Please read the first lines of this script for instructions on how to enable it"); - -@set_time_limit(0); - -$schema_path = './../install/schemas/'; +$schema_path = dirname(__FILE__) . '/../install/schemas/'; if (!is_writable($schema_path)) { @@ -242,7 +238,7 @@ $supported_dbms = array('firebird', 'mssql', 'mysql_40', 'mysql_41', 'oracle', ' foreach ($supported_dbms as $dbms) { - $fp = fopen($schema_path . '_' . $dbms . '_schema.sql', 'wt'); + $fp = fopen($schema_path . $dbms . '_schema.sql', 'wt'); $line = ''; |
