ProdigyLV Posted January 24, 2019 Report Share 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 Link to comment Share on other sites More sharing options...
e-remit Posted January 24, 2019 Report Share Posted January 24, 2019 Tu domāji $_SERVER['DOCUMENT_ROOT']? Quote Link to comment Share on other sites More sharing options...
ProdigyLV Posted January 24, 2019 Author Report Share Posted January 24, 2019 Jā tieši šis te! Paldies. Dažreiz liekās ka google mani troļļo:D Quote Link to comment Share on other sites More sharing options...
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.