Forum Replies Created

Viewing 5 replies - 1 through 5 (of 5 total)
  • Forum: Themes and Templates
    In reply to: [Easel] error
    Thread Starter kam1kaz3

    (@kam1kaz3)

    Ues I saw and modify, theme working correctly

    Thanks

    Forum: Themes and Templates
    In reply to: [Easel] error
    Thread Starter kam1kaz3

    (@kam1kaz3)

    soluce here in french

    ici

    function myglob( $patt, $drp=0 ) {
            $dir=dirname( $patt );
            $pat=basename( $patt );
            $md=($drp & GLOB_MARK)==GLOB_MARK;
            $reponse=array();
            if (is_dir($dir) && ($d = @opendir($dir))) {
                    $gl = array( ',/,', '/\./', '/\*/', '/\?/', '/^/', '/$/', ',/\.\*,', ',^/\^\.\*,'  );
                    $re = array( '\\/', '\.',   '.*',   '.',    '/^',  '\$/', '/[^.].*',  '/^[^.].*' );
                    $newpat=preg_replace( $gl, $re, $pat );
                            while (($filename = @readdir($d)) !== false) {
                                    if( $filename == '.' || $filename == '..' )
                                            continue;
                                    if( preg_match( $newpat, $filename )) {
                                            $reponse[]= $dir . '/' . $filename . (($md && is_dir($dir.'/'.$filename)) ? '/' : '');
                                    }
                    }
            }
            if(($drp & GLOB_NOCHECK)&&count($reponse)==0)
                    return array($patt);
            if($drp & GLOB_NOSORT)
                    return $reponse;
            sort( $reponse );
            return $reponse;
    }

    thanks for help and reply

    Forum: Themes and Templates
    In reply to: [Easel] error
    Thread Starter kam1kaz3

    (@kam1kaz3)

    I found the problem, the function

    glob() is not supported by my host.

    Forum: Themes and Templates
    In reply to: [Easel] error
    Thread Starter kam1kaz3

    (@kam1kaz3)

    Ok thanks for reply.

    1 it’s not possible
    2 why not in futur but not now
    3 how to know the date of creating theme?

    Forum: Themes and Templates
    In reply to: [Easel] error
    Thread Starter kam1kaz3

    (@kam1kaz3)

    I can’t upgrade my wordpress because the php version is
    5.1.3RC4-dev on my host

Viewing 5 replies - 1 through 5 (of 5 total)