Skip to content
Snippets Groups Projects
Commit 1dca2865 authored by Tyler Antonio's avatar Tyler Antonio
Browse files

Fixed spelling mistakes

parent 79a6be10
No related branches found
No related tags found
No related merge requests found
......@@ -202,13 +202,13 @@ $config = array(
* Database
*
* This database configuration is optional. If you are not using
* core funcationlity or modules that require a database, you can
* core functionality or modules that require a database, you can
* skip this configuration.
*/
/*
* Database connection string.
* Ensure that you have the required PDO database drive installed
* Ensure that you have the required PDO database driver installed
* for your connection string.
*/
'database.dsn' => 'mysql:host=localhost;dbname=saml',
......@@ -225,7 +225,7 @@ $config = array(
'database.prefix' => '',
/*
* True or false if you would like a persisent datata connection
* True or false if you would like a persistent database connection
*/
'database.persistent' => false,
......@@ -235,7 +235,7 @@ $config = array(
* a master/slave conifguration, you can define as many slave servers
* as you want here. Slaves will be picked at random to be queried from.
*
* Configuration options in the salve array are exactly the same as the
* Configuration options in the slave array are exactly the same as the
* options for the master (shown above) with the exception of the table
* prefix.
*/
......
......@@ -13,7 +13,7 @@ PDO Metadata Storage Handler
Introduction
------------
If you want to run a clustered simpleSAMLphp IdP service and you would like to have centralized storage for metadata, you can use the PDO metadata storage handler.
If you want to run a clustered SimpleSAMLphp IdP service and you would like to have centralized storage for metadata, you can use the PDO metadata storage handler.
The present document explains how to configure SimpleSAMLphp and your database.
......@@ -22,7 +22,7 @@ The present document explains how to configure SimpleSAMLphp and your database.
Preparations
------------
You will need to have the appropriate PDO drivers for your database and you will have to configure the database secion within the config/config.php file.
You will need to have the appropriate PDO drivers for your database and you will have to configure the database section within the config/config.php file.
......@@ -50,7 +50,7 @@ Once you have configured your metadata sources to include a PDO source, you will
[root@simplesamlphp simplesamlphp]# php bin/initMDSPdo.php
If you connect to your datbase, you will see 11 new empty tables; one for each metadata set.
If you connect to your database, you will see 11 new empty tables; one for each metadata set.
Adding Metadata
......
......@@ -43,7 +43,7 @@ class SimpleSAML_Database {
/**
* Retrieves the current database instance. Will create a new one if there isn't an existing connection.
*
* @param object $altConfig Optional: Instance of a SimpleSAML_Configruation class
* @param object $altConfig Optional: Instance of a SimpleSAML_Configuration class
* @return SimpleSAML_Database The shared database connection.
*/
public static function getInstance($altConfig = null) {
......@@ -63,7 +63,7 @@ class SimpleSAML_Database {
/**
* Private constructor that restricts instantiation to getInstance().
*
* @param object $config Instance of the SimpleSAML_Configruation class
* @param object $config Instance of the SimpleSAML_Configuration class
*/
private function __construct($config) {
$driverOptions = array();
......
......@@ -77,7 +77,7 @@ class SimpleSAML_Metadata_MetaDataStorageHandlerPdo extends SimpleSAML_Metadata_
/**
* This function loads the given set of metadata from a file our configured database.
* This function loads the given set of metadata from a file to a configured database.
* This function returns NULL if it is unable to locate the given set in the metadata directory.
*
* @param string $set The set of metadata we are loading.
......
......@@ -231,7 +231,7 @@ class SimpleSAML_DatabaseTest extends PHPUnit_Framework_TestCase
*/
public function NoSuchTable()
{
$this->db->write("DROP TABLE phpunit_nonexistant", false);
$this->db->write("DROP TABLE phpunit_nonexistent", false);
}
public function tearDown()
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment