Git Product home page Git Product logo

Comments (6)

ikkez avatar ikkez commented on August 23, 2024

hi onegin.

sorry, i've tested it and it worked for me. I was using the latest github version.

config.ini

[globals]
test.var1 = true
test.var2 = TRUE
test.var3 = false
test.var4 = FALSE

[routes]
 GET /foo=Test2::foo|Test2::bar|Test2::foo2|Test2::bar2
class Test2 {
    static function bar() {
        echo "bar";
    }
    static function bar2() {
        echo "bar2";
    }
    static function foo() {
        echo "foo";
    }
    static function foo2() {
        echo "foo2";
    }
}

F3::config('config.ini);
var_dump(F3::get('test'));

output:

array(4) {
  ["var1"]=>
  bool(true)
  ["var2"]=>
  bool(true)
  ["var3"]=>
  bool(false)
  ["var4"]=>
  bool(false)
}

foo-bar-foo2-bar2-

from fatfree.

 avatar commented on August 23, 2024

I just put bug log, discussed this with Bong yesterday and provided him with my stack trace, dont know if he put it already into nightly build, I just wanted to be sure, it is fixed officially.

from fatfree.

bcosca avatar bcosca commented on August 23, 2024

Please check latest commit and let me know if it works

from fatfree.

 avatar commented on August 23, 2024

Nope. Still the same Undefined class error
http://pastebin.com/S8unA7EB

from fatfree.

 avatar commented on August 23, 2024

I am also getting Use of undefined Admin constant error on this config after latest patch
[globals]
SUPERUSERNAME=Admin

Reverted whole F3::config to 2.0.8 - works like a charm

from fatfree.

 avatar commented on August 23, 2024

Regex issue, fixed in latest patch.

from fatfree.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.