/openshift/adei

To get this branch, use:
bzr branch http://darksoft.org/webbzr/openshift/adei

« back to all changes in this revision

Viewing changes to config.php

  • Committer: Suren A. Chilingaryan
  • Date: 2008-06-17 23:19:26 UTC
  • Revision ID: csa@dside.dyndns.org-20080617231926-w9mpfxw6lv0r0450
Administrative interface and better handling of missing group channels

Show diffs side-by-side

added added

removed removed

Lines of Context:
77
77
        /* 1 - 7200 data points */
78
78
    );
79
79
 
 
80
    $DEFAULT_MISSING_VALUE = NULL;      /* Value to use instead of NULL values */
80
81
 
81
82
    $EXPORT_DEFAULT_FORMAT = "csv";
82
83
    
295
296
    
296
297
    if (!file_exists("config.php")) {
297
298
        $curdir = getcwd();
298
 
        if (preg_match("/(services|system|test)$/", $curdir)) chdir("..");
 
299
        if (preg_match("/(services|admin|system|test)$/", $curdir)) chdir("..");
 
300
        if (!file_exists("config.php")) {
 
301
            if (preg_match("/tmp\/admin$/", $curdir)) chdir("..");
 
302
        }
299
303
    }
300
304
    
301
305
    if (file_exists($SETUP_CONFIG)) require($SETUP_CONFIG);