prasathmani / tinyfilemanager

Single-file PHP file manager, browser and manage your files efficiently and easily with tinyfilemanager
https://tinyfilemanager.github.io
GNU General Public License v3.0
5.01k stars 1.67k forks source link

Problem of Embedding #166

Closed Whisper40 closed 5 years ago

Whisper40 commented 5 years ago

Hello, i would like to apply something like in your Embedding in the doc : https://tinyfilemanager.github.io/docs/ I don't understand why but your page is no include is mine. I followed what you have recommended :

At the top of my page :

<?php
define('FM_EMBED', true);
define('FM_SELF_URL', $_SERVER['PHP_SELF']);
?>

And then i have place it where i want it to be displayed :

<?php
      require 'includes/tinyfilemanager.php';
?>

And the result is that i only have my page, and in the source code i can see that the page has stopped loading at the require of your script :( . An idea for that ? Thanks

Whisper40 commented 5 years ago

Closed : Balise doc type was incorrect on my side ;)