PHP Classes

File: tests/getApp.php

Recommend this page to a friend!
  Classes of TJ Webb   PHP Manifold Laravel Integration   tests/getApp.php   Download  
File: tests/getApp.php
Role: Auxiliary script
Content type: text/plain
Description: Auxiliary script
Class: PHP Manifold Laravel Integration
Retrieve details from a Manifold account
Author: By
Last change:
Date: 4 years ago
Size: 399 bytes
 

Contents

Class file image Download
<?php

//this is so the tests can be run from within the packages directory
//(development) or the vendor directory (production)
function manifold_test_app_path(){
    if(
file_exists(__DIR__.'/../../../../bootstrap/app.php')){
        return
__DIR__.'/../../../../bootstrap/app.php';
    }elseif(
file_exists(__DIR__.'/../bootstrap/app.php')){
        return
__DIR__.'/../bootstrap/app.php';
    }
}