mirror of
https://github.com/phpbb/phpbb.git
synced 2025-06-28 06:08:52 +00:00
Merge remote-tracking branch 'igorw/ticket/10413' into develop-olympus
* igorw/ticket/10413: [ticket/10413] Fix CS [ticket/10413] Make create_schema_files usable
This commit is contained in:
commit
cc227cc6f6
1 changed files with 2 additions and 6 deletions
|
@ -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…
Add table
Reference in a new issue