Blame view

tests/_config/global.php 936 Bytes
15479603   Alex Savenko   initialize
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
  <?php
  
  return [
      'application' => [
          'title' => 'Phalcon REST Boilerplate',
          'description' => 'This repository provides an boilerplate application with all of the classes of Phalcon REST library implemented.',
          'baseUri' => '/',
          'viewsDir' => __DIR__ . '/../views/',
      ],
      'authentication' => [
          'secret' => 'this_should_be_changed',
          'expirationTime' => 86400 * 7, // One week till token expires
      ],
      'debug' => true,
      'hostName' => 'http://phalcon-rest-boilerplate.redound.dev',
      'clientHostName' => 'http://phalcon-rest-boilerplate.redound.dev',
      'database' => [
          // Change to your own configuration
          'adapter' => 'Mysql',
          'host' => '127.0.0.1',
          'username' => 'root',
          'password' => 'root',
          'name' => 'phalcon_rest_boilerplate',
      ],
      'cors' => [
          'allowedOrigins' => ['phalcon-rest-boilerplate.dev']
      ]
  ];