MrBrax

Results 347 comments of MrBrax

If this isn't how it's meant to be done, how do you create new instances of classes? I don't understand this system at all!

Wow, i searched for hours because of this, and it was on here all along. Yeah the method for calling this library doesn't seem ordinary

Found a solution yesterday, can be overridden with: `const Selectr = require("imports-loader?this=>window,define=>false!mobius1-selectr/src/selectr.js");` Needs imports-loader.

I'm not sure actually, i remember implementing it being a real pain. [Current setup](https://github.com/MrBrax/TwitchAutomator/blob/947956114a9002ebcbb909d1efc8b191b249ac9b/public/index.php#L28)

I didn't know that was possible, nor what that thing does. Gonna have to research more.

> > > Are you sure this gets called: > https://github.com/MrBrax/TwitchAutomator/blob/947956114a9002ebcbb909d1efc8b191b249ac9b/public/index.php#L57 Yes, the basepath works everywhere else, in the base_path() function too

That tells me that the basepath is appended twice. `

$currentUrl = "/path/path/dashboard" $this->uri = `object(Slim\Psr7\Uri)#160 (8) { ["scheme":protected]=> string(4) "http" ["user":protected]=> string(0) "" ["password":protected]=> string(0) "" ["host":protected]=> string(17) "example.com" ["port":protected]=> int(14184) ["path":protected]=> string(15) "/path/dashboard" ["query":protected]=> string(10) "/dashboard" ["fragment":protected]=> string(0)...

nginx maybe? setting nginx up with subfolders took me days of trial and error, almost nothing worked. maybe there's something in there

I'll keep it broken though, too much weird stuff to debug. Thanks though.