public static function setScanDir()
    {
        if (!getenv("BARTLETT_SCAN_DIR")) {
            $home = defined('PHP_WINDOWS_VERSION_BUILD') ? 'USERPROFILE' : 'HOME';
            $dirs = array(
                realpath('.'),
                getenv($home) . DIRECTORY_SEPARATOR . '.config',
                DIRECTORY_SEPARATOR . 'etc',
            );
            putenv("BARTLETT_SCAN_DIR=" . implode(PATH_SEPARATOR, $dirs));
        }
    }
public static function setScanDir()
    {
        if (!getenv("BARTLETT_SCAN_DIR")) {
            $home = defined('PHP_WINDOWS_VERSION_BUILD') ? 'USERPROFILE' : 'HOME';
            $dirs = array(
                realpath('.'),
                getenv($home) . DIRECTORY_SEPARATOR . '.config',
                DIRECTORY_SEPARATOR . 'etc',
            );
            putenv("BARTLETT_SCAN_DIR=" . implode(PATH_SEPARATOR, $dirs));
        }
    }
public static function setScanDir ( ) { if ( ! getenv ( "BARTLETT_SCAN_DIR" ) ) { $ home = defined ( 'PHP_WINDOWS_VERSION_BUILD' ) ? 'USERPROFILE' : 'HOME' ; $ dirs = array ( realpath ( '.' ) , getenv ( $ home ) . DIRECTORY_SEPARATOR . '.config' , DIRECTORY_SEPARATOR . 'etc' , ) ; putenv ( "BARTLETT_SCAN_DIR=" . implode ( PATH_SEPARATOR , $ dirs ) ) ; } }
Defines the scan directories where to search for a json config file.

@return void
@see    getJsonConfigFilename()
Defines the scan directories where to search for a json config file .