php - Why in some files require /app/ works, in others doesn't? -
Some files require This is because there are 2 types of Unix Path: Full Path: relative path: Imagine you are in the if you click the '/ app /' to work, in some, But do not need 'AAP /' works on pages where '/ app /' breaks like this? I can not use the __DIR __ , because it can not load css files.
/ app / (always starts with / ) app / (relative to that place You use / app / (abosolute) - you talk about the / app / folder app / (where you are Are related to there) - You talk about / var / www / app / . This means that you want to use the directory "app" in the / var / www / directory.
Comments
Post a Comment