ProdigyLV Posted January 24, 2019 Report Posted January 24, 2019 Vai ir kāda funkcija/iespēja iegūt ceļu uz web root folderi no subfoldriem. Doma, lai require un include nav jāraksta "./../../../../../config.php" It kā, jau nav grūti uzrakstīt tos ./../...... bet zb jau :D Prasu googles tantei, bet viņa mani īsti nesaprot, ko es īsti vēlos :( Quote
e-remit Posted January 24, 2019 Report Posted January 24, 2019 Tu domāji $_SERVER['DOCUMENT_ROOT']? Quote
ProdigyLV Posted January 24, 2019 Author Report Posted January 24, 2019 Jā tieši šis te! Paldies. Dažreiz liekās ka google mani troļļo:D Quote
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.