forked from uup-dump/api
Fix API not working when parent script uses include with the same name
This commit is contained in:
@ -15,7 +15,7 @@ See the License for the specific language governing permissions and
|
||||
limitations under the License.
|
||||
*/
|
||||
|
||||
require_once 'shared/main.php';
|
||||
require_once dirname(__FILE__).'/shared/main.php';
|
||||
|
||||
function uupUpdateInfo($updateId, $onlyInfo = 0) {
|
||||
$info = @file_get_contents('fileinfo/'.$updateId.'.json');
|
||||
|
Reference in New Issue
Block a user