mirror of
https://github.com/phpbb/phpbb.git
synced 2025-02-24 03:54:10 +01:00
Merge branch 'develop-olympus' into develop
* develop-olympus: [ticket/10413] Fix CS [ticket/10413] Make create_schema_files usable
This commit is contained in:
commit
c451a15504
@ -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 = '';
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user