public static function dir()
    {
        $JSTORE_DIR         = str_replace(DIRECTORY_SEPARATOR, '/', __DIR__);
        $JSTORE_DOCS_ROOT   = str_replace(DIRECTORY_SEPARATOR, '/', isset($_SERVER['DOCUMENT_ROOT']) ? realpath($_SERVER['DOCUMENT_ROOT']) : dirname(__DIR__));
        return trim(str_replace($JSTORE_DOCS_ROOT, '', $JSTORE_DIR), "/");
    }
public static function dir()
    {
        $JSTORE_DIR         = str_replace(DIRECTORY_SEPARATOR, '/', __DIR__);
        $JSTORE_DOCS_ROOT   = str_replace(DIRECTORY_SEPARATOR, '/', isset($_SERVER['DOCUMENT_ROOT']) ? realpath($_SERVER['DOCUMENT_ROOT']) : dirname(__DIR__));
        return trim(str_replace($JSTORE_DOCS_ROOT, '', $JSTORE_DIR), "/");
    }
public static function dir ( ) { $ JSTORE_DIR = str_replace ( DIRECTORY_SEPARATOR , '/' , __DIR__ ) ; $ JSTORE_DOCS_ROOT = str_replace ( DIRECTORY_SEPARATOR , '/' , isset ( $ _SERVER [ 'DOCUMENT_ROOT' ] ) ? realpath ( $ _SERVER [ 'DOCUMENT_ROOT' ] ) : dirname ( __DIR__ ) ) ; return trim ( str_replace ( $ JSTORE_DOCS_ROOT , '' , $ JSTORE_DIR ) , "/" ) ; }
Used to get the directory where this class file is located
Used to get the directory where this class file is located