Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

Moved config/local.php to config.php

  • Loading branch information...
commit 5c9f869438a386234f828df645f8e793a08d4657 1 parent 0bb53d3
@fabian fabian authored
View
2  .gitignore
@@ -1,4 +1,4 @@
-config/local.php
+config.php
var/cache/
var/logs/
var/xhprof/
View
2  Boxfile
@@ -9,7 +9,7 @@ web1:
after_build:
- "mkdir -p /var/www/var/logs"
- "mkdir -p /var/www/var/xhprof"
- - "mv /var/www/config/pagodabox.php /var/www/config/local.php"
+ - "mv /var/www/pagodabox.php /var/www/config.php"
- "curl -s http://getcomposer.org/installer | php"
- "php composer.phar install"
View
2  README.md
@@ -21,7 +21,7 @@ If you cloned the repository inside your document root, the API is now accessibl
### Configuration
-By default the API uses the configuration from ```config/default.php```. To define your own configuration copy the file to ```config/local.php``` and override the variables you want to change.
+To define your own configuration for the API copy the file ```config.php.sample``` to ```config.php``` and override the variables you want to change.
### Statistics
View
0  config/local.php.sample → config.php.sample
File renamed without changes
View
0  config/pagodabox.php → pagodabox.php
File renamed without changes
View
2  web/api.php
@@ -29,7 +29,7 @@
$app['proxy'] = false;
/// load config
-$config = __DIR__.'/../config/local.php';
+$config = __DIR__.'/../config.php';
if (stream_resolve_include_path($config)) {
include $config;
}
View
2  web/stats.php
@@ -15,7 +15,7 @@
$app['redis.config'] = false; // array('host' => 'localhost', 'port' => 6379);
/// load config
-$config = __DIR__.'/../config/local.php';
+$config = __DIR__.'/../config.php';
if (stream_resolve_include_path($config)) {
include $config;
}
Please sign in to comment.
Something went wrong with that request. Please try again.