Skip to content

Commit 86f6944

Browse files
quicksketchNathaniel
authored and
Nathaniel
committed
Issue #22336 by quicksketch, scor, boombatower, and rfay. Move all core Drupal files under a core subdirectory.
0 parents  commit 86f6944

File tree

973 files changed

+261331
-0
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

973 files changed

+261331
-0
lines changed

CHANGELOG.txt

+1,060
Large diffs are not rendered by default.

COPYRIGHT.txt

+26
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,26 @@
1+
2+
All Drupal code is Copyright 2001 - 2010 by the original authors.
3+
4+
This program is free software; you can redistribute it and/or modify
5+
it under the terms of the GNU General Public License as published by
6+
the Free Software Foundation; either version 2 of the License, or (at
7+
your option) any later version.
8+
9+
This program is distributed in the hope that it will be useful, but
10+
WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY
11+
or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License
12+
for more details.
13+
14+
You should have received a copy of the GNU General Public License
15+
along with this program as the file LICENSE.txt; if not, please see
16+
http://www.gnu.org/licenses/old-licenses/gpl-2.0.txt.
17+
18+
Drupal is a registered trademark of Dries Buytaert.
19+
20+
Drupal includes works under other copyright notices and distributed
21+
according to the terms of the GNU General Public License or a compatible
22+
license, including:
23+
24+
jQuery - Copyright (c) 2008 - 2009 John Resig
25+
26+
Symfony2 - Copyright (c) 2004 - 2011 Fabien Potencier

INSTALL.mysql.txt

+42
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,42 @@
1+
2+
CREATE THE MySQL DATABASE
3+
--------------------------
4+
5+
This step is only necessary if you don't already have a database set up (e.g.,
6+
by your host). In the following examples, 'username' is an example MySQL user
7+
which has the CREATE and GRANT privileges. Use the appropriate user name for
8+
your system.
9+
10+
First, you must create a new database for your Drupal site (here, 'databasename'
11+
is the name of the new database):
12+
13+
mysqladmin -u username -p create databasename
14+
15+
MySQL will prompt for the 'username' database password and then create the
16+
initial database files. Next you must log in and set the access database rights:
17+
18+
mysql -u username -p
19+
20+
Again, you will be asked for the 'username' database password. At the MySQL
21+
prompt, enter following command:
22+
23+
GRANT SELECT, INSERT, UPDATE, DELETE, CREATE, DROP, INDEX, ALTER
24+
ON databasename.*
25+
TO 'username'@'localhost' IDENTIFIED BY 'password';
26+
27+
where
28+
29+
'databasename' is the name of your database
30+
'username@localhost' is the username of your MySQL account
31+
'password' is the password required for that username
32+
33+
Note: Unless your database user has all of the privileges listed above, you will
34+
not be able to run Drupal.
35+
36+
If successful, MySQL will reply with:
37+
38+
Query OK, 0 rows affected
39+
40+
If the InnoDB storage engine is available, it will be used for all database
41+
tables. InnoDB provides features over MyISAM such as transaction support,
42+
row-level locks, and consistent non-locking reads.

INSTALL.pgsql.txt

+44
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,44 @@
1+
2+
CREATE THE PostgreSQL DATABASE
3+
------------------------------
4+
5+
Note that the database must be created with UTF-8 (Unicode) encoding.
6+
7+
1. CREATE DATABASE USER
8+
9+
This step is only necessary if you don't already have a user set up (e.g., by
10+
your host), or want to create a new user for use with Drupal only. The
11+
following command creates a new user named 'username' and asks for a password
12+
for that user:
13+
14+
createuser --pwprompt --encrypted --no-createrole --no-createdb username
15+
16+
If there are no errors, then the command was successful.
17+
18+
2. CREATE DRUPAL DATABASE
19+
20+
This step is only necessary if you don't already have a database set up
21+
(e.g., by your host) or want to create a new database for use with Drupal
22+
only. The following command creates a new database named 'databasename',
23+
which is owned by the previously created 'username':
24+
25+
createdb --encoding=UTF8 --owner=username databasename
26+
27+
If there are no errors, then the command was successful.
28+
29+
3. CREATE SCHEMA OR SCHEMAS (Optional advanced step)
30+
31+
Drupal will run across different schemas within your database if you so wish.
32+
By default, Drupal runs inside the 'public' schema but you can use $db_prefix
33+
inside settings.php to define a schema for Drupal to run inside of, or
34+
specify tables that are shared inside of a separate schema. Drupal will not
35+
create schemas for you. In fact, the user that Drupal runs as should not be
36+
allowed to do this. You'll need to execute the SQL below as a superuser,
37+
replace 'username' with the username that Drupal uses to connect to
38+
PostgreSQL, and replace 'schema_name' with a schema name you wish to use,
39+
such as 'shared':
40+
41+
CREATE SCHEMA schema_name AUTHORIZATION username;
42+
43+
Do this for as many schemas as you need. See default.settings.php for
44+
instructions on how to set which tables use which schemas.

INSTALL.sqlite.txt

+31
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,31 @@
1+
2+
SQLITE REQUIREMENTS
3+
-------------------
4+
5+
To use SQLite with your Drupal installation, the following requirements must be
6+
met: Server has PHP 5.3.2 or later with PDO, and the PDO SQLite driver must be
7+
enabled.
8+
9+
SQLITE DATABASE CREATION
10+
------------------------
11+
12+
The Drupal installer will create the SQLite database for you. The only
13+
requirement is that the installer must have write permissions to the directory
14+
where the database file resides. This directory (not just the database file) also
15+
has to remain writeable by the web server going forward for SQLite to continue to
16+
be able to operate.
17+
18+
On the "Database configuration" form in the "Database file" field, you must
19+
supply the exact path to where you wish your database file to reside. It is
20+
strongly suggested that you choose a path that is outside of the webroot, yet
21+
ensure that the directory is writeable by the web server.
22+
23+
If you must place your database file in your webroot, you could try using the
24+
following in your "Database file" field:
25+
26+
sites/default/files/.ht.sqlite
27+
28+
Note: The .ht in the name will tell Apache to prevent the database from being
29+
downloaded. Please check that the file is, indeed, protected by your webserver.
30+
If not, please consult the documentation of your webserver on how to protect a
31+
file from downloading.

0 commit comments

Comments
 (0)