Blame view

tests/_data/config.php 1.37 KB
a038055e4   development server   added ext libs lo...
1
2
3
4
5
6
7
8
  <?php
  
  //common vars to be used on file
  $fs_root = __DIR__; //point to the project root folder
  
  //the configuration array - make sure it is called $c
  $c = array(
    "install_path"    => $fs_root,
6a1a8aaba   root@webrtc-hub   Reorganized web c...
9
    "base_path" => "",
a038055e4   development server   added ext libs lo...
10
11
12
  #------ logfile configuration
    'logfile_path' => __DIR__."/../_output/logs/test.log",
    'logfile_level' => "DEBUG",
6a1a8aaba   root@webrtc-hub   Reorganized web c...
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
  #----- locale configuration
    "defaultLocale"      => "pt_PT",
    "defaultLocaleLabel" => "PT",
  
    "locales"            => array(
                                array("label" => "GB", "locale" => "en_GB", "flag_alt" => "English flag", "language" => "English"),
                                array("label" => "PT", "locale" => "pt_PT", "flag_alt" => "Portuguese flag", "language" => "Português"),
                                # add other languages here....
                              ),
  
    "locale_textdomain"  => "messages",
    "locale_path"        => __DIR__."/locale",
    "locale_cookie_name" => "locale",
    #twig parser locations
    "twig_parser_templates_path" => __DIR__."/templates",
    "twig_parser_cache_path" => __DIR__."/cache",
a038055e4   development server   added ext libs lo...
29
  #---- External libraries loader --------------------
6a1a8aaba   root@webrtc-hub   Reorganized web c...
30
    "ext_libs_loader_service_name" => 'loader',
12bac7098   Paulo Costa   updated components
31
a038055e4   development server   added ext libs lo...
32
33
34
    "ext_libs" => array(
      "my_lib" => __DIR__."/vendor/test/lib.js"
    ),
12bac7098   Paulo Costa   updated components
35
36
37
38
39
40
  
  #---- Slim Middleware loader --------------------
  
    "slim_middlewares" => array(
      "my_test_middleware" => new \Fccn\Tests\MyMiddleware(),
     ),
a038055e4   development server   added ext libs lo...
41
  );