Fix API not working when parent script uses include with the same name

This commit is contained in:
mkuba50
2017-09-29 23:40:56 +02:00
parent 67c5c06461
commit 03727b01ce
7 changed files with 14 additions and 12 deletions

View File

@ -15,8 +15,8 @@ See the License for the specific language governing permissions and
limitations under the License.
*/
require_once 'shared/main.php';
require_once 'shared/requests.php';
require_once dirname(__FILE__).'/shared/main.php';
require_once dirname(__FILE__).'/shared/requests.php';
function uupFetchUpd($arch = 'amd64', $ring = 'WIF', $flight = 'Active', $build = '16251') {
uupApiPrintBrand();