r97392 MediaWiki - Code Review archive

Repository:MediaWiki
Revision:r97391‎ | r97392 | r97393 >
Date:21:39, 17 September 2011
Author:demon
Status:ok
Tags:
Comment:
Add dbdata.php to svn:ignore, move it to .sample
Modified paths:
  • /trunk/wikimania/wmreg (modified) (history)
  • /trunk/wikimania/wmreg/dbdata.php (deleted) (history)
  • /trunk/wikimania/wmreg/dbdata.sample (added) (history)

Diff [purge]

Index: trunk/wikimania/wmreg/dbdata.php
@@ -1,31 +0,0 @@
2 -<?php
3 -
4 -/* Prevent hacking */
5 -if ( !defined( 'TC_STARTED' ) )
6 -{ die( 'Hacking Attempt' ); }
7 -
8 -$DB_HOST = '127.0.0.1';
9 -
10 -$DB_ID = 'username';
11 -
12 -$DB_NAME = 'wikidb';
13 -
14 -$DB_PASS = 'foobar';
15 -
16 -/**
17 - * The URL of the system
18 - */
19 -$myself_url = 'https://secure.wikidc.org/wm/reg/';
20 -// $myself_url = 'http://wmreg11.eu5.org/wmreg/';
21 -
22 -$recaptcha_publickey = "";
23 -$recaptcha_privatekey = "";
24 -
25 -$open_time = gmmktime( 0, 0, 0, /*january*/ 1, /*1st*/ 1, 2011 );
26 -$close_time = gmmktime( 0, 0, 0, /*august*/ 8, /*1st*/ 1, 2012 );
27 -$mock = true;
28 -
29 -$coupon_vip = 'foo';
30 -$coupon_median = 'bar';
31 -$coupon_volunteer = 'baz';
32 -
Index: trunk/wikimania/wmreg/dbdata.sample
@@ -0,0 +1,30 @@
 2+<?php
 3+
 4+/* Prevent hacking */
 5+if ( !defined( 'TC_STARTED' ) )
 6+{ die( 'Hacking Attempt' ); }
 7+
 8+$DB_HOST = '127.0.0.1';
 9+
 10+$DB_ID = 'username';
 11+
 12+$DB_NAME = 'wikidb';
 13+
 14+$DB_PASS = 'foobar';
 15+
 16+/**
 17+ * The URL of the system
 18+ */
 19+$myself_url = 'https://example.com/reg/';
 20+
 21+$recaptcha_publickey = "";
 22+$recaptcha_privatekey = "";
 23+
 24+$open_time = gmmktime( 0, 0, 0, /*january*/ 1, /*1st*/ 1, 2011 );
 25+$close_time = gmmktime( 0, 0, 0, /*august*/ 8, /*1st*/ 1, 2012 );
 26+$mock = true;
 27+
 28+$coupon_vip = 'foo';
 29+$coupon_median = 'bar';
 30+$coupon_volunteer = 'baz';
 31+
Property changes on: trunk/wikimania/wmreg/dbdata.sample
___________________________________________________________________
Added: svn:eol-style
132 + native
Property changes on: trunk/wikimania/wmreg
___________________________________________________________________
Added: svn:ignore
233 + dbdata.php

Status & tagging log