TEK dosyada allow_url_include Set

0 Cevap include

I've created a php file called pagebase.php that I'm quite proud of. It contains a class that created the whole html file for me from input such as css links and js links. In any case, this file is several hundred lines long, as it includes several helper functions such as cleanHTML() that removes all whitespace from the html code then, in layman's terms, makes the source look pritty.

Ben özellikle tüm iç projelerde, tüm projelerde bu pagebase kullanmaya karar verdim. Ben de oldukça bir sürü eklemek ve pagebase dosyaya genişletmeyi planlıyoruz. Peki ben merak ediyorum bunun üzerine allow_url_include seçeneğini ayarlamak mümkün olduğunu, ama sadece bu tek dosyada.

Ben doğru benim teorim var, o bana herhangi bir sunucudan () bu dosyayı içerir ve pagebase sınıf almak için izin verecek.

Tüm cevaplar için teşekkürler!

0 Cevap