简体   繁体   中英

Meaning of '/../vendor/autoload.php' in php

I am trying to pull my public folder from xampp to the localhost. I am stuck in an error, and I want to know the meaning of:

/../vendor/autoload.php soecially what does the "/../" mean ??

../ means one directory upwards from current location.

So for example, when you want include /vendor/autoload.php from within /app directory, you have to use

include '../vendor/autoload.php';

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM