aboutsummaryrefslogtreecommitdiffstats
path: root/phpBB/develop
diff options
context:
space:
mode:
authorAndreas Fischer <bantu@phpbb.com>2011-10-16 20:16:25 +0200
committerAndreas Fischer <bantu@phpbb.com>2011-10-16 20:16:25 +0200
commitc451a15504b5f7bce636ca909a139a0804907522 (patch)
tree1a03f2f500593fccc06f78c2f12a9118db67d2cb /phpBB/develop
parent95fed7806d0811aee69b5da141ef47d4abb41f01 (diff)
parentcc227cc6f66aa164705bf0e721558e3e6b75fd0f (diff)
downloadforums-c451a15504b5f7bce636ca909a139a0804907522.tar
forums-c451a15504b5f7bce636ca909a139a0804907522.tar.gz
forums-c451a15504b5f7bce636ca909a139a0804907522.tar.bz2
forums-c451a15504b5f7bce636ca909a139a0804907522.tar.xz
forums-c451a15504b5f7bce636ca909a139a0804907522.zip
Merge branch 'develop-olympus' into develop
* develop-olympus: [ticket/10413] Fix CS [ticket/10413] Make create_schema_files usable
Diffstat (limited to 'phpBB/develop')
-rw-r--r--phpBB/develop/create_schema_files.php8
1 files changed, 2 insertions, 6 deletions
diff --git a/phpBB/develop/create_schema_files.php b/phpBB/develop/create_schema_files.php
index 0c30e484db..a957e2c40b 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 = '';