Skip to content

Commit

Permalink
reverted config.php to defaults
Browse files Browse the repository at this point in the history
  • Loading branch information
quantavi committed Sep 7, 2018
1 parent 8d3053a commit 4e93584
Showing 1 changed file with 7 additions and 9 deletions.
16 changes: 7 additions & 9 deletions api/config.php
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
<?php

date_default_timezone_set('America/New_York');

// Do not change, only supporting one API version
Expand All @@ -15,22 +16,19 @@

// MySQL Settings
define('DB_TYPE', 'mysql');
define('DB_HOST', 'mysql');
define('DB_PORT', 8889);
define('DB_NAME', 'artemFromDev');
define('DB_HOST', 'localhost');
define('DB_PORT', 3306);
define('DB_NAME', 'directus');
define('DB_USER', 'root');
define('DB_PASSWORD', 'root');
define('DB_PASSWORD', 'password');
define('DB_PREFIX', '');
define('DB_ENGINE', 'InnoDB');
define('DB_CHARSET', 'utf8mb4');

define('DB_HOST_SLAVE', ''); //Leave undefined to fall back on master
define('DB_USER_SLAVE', '');
define('DB_PASSWORD_SLAVE', '');

// Url path to Directus
define('DIRECTUS_PATH', '/directus');

define('DIRECTUS_PATH', '/');

$host = 'www.example.com'; // (Make it work for CLI)
if (isset($_SERVER['SERVER_NAME'])) {
Expand All @@ -50,7 +48,7 @@
define('MEMCACHED_SERVER', '127.0.0.1');

// Namespaced the memcache keys so branches/databases to not collide
//options are prod, staging, testing, development
// options are prod, staging, testing, development
define('MEMCACHED_ENV_NAMESPACE', 'staging');

define('STATUS_DELETED_NUM', 0);
Expand Down

0 comments on commit 4e93584

Please sign in to comment.