panique / huge

Simple user-authentication solution, embedded into a small framework.
2.14k stars 788 forks source link

fix require file #810

Closed brunoribeiro94 closed 8 years ago

brunoribeiro94 commented 8 years ago

I tested the code for AJAX request and errors occurred to include the classes file Config and Text.

When I changed the directory to the current directory worked as it should.

A small example of how this can happen is by creating an ajax request to create a password for example to include the framework files or folder composer libraries just use:

require '../../vendor/autoload.php';

on path public/requests for example.

panique commented 8 years ago

Sorry but this breaks the project, and also please dont commit to master branch!