Hello.
I have included some custom php scripts into couch administration. It works well, however the file which is included <iframe src="../s_admin.php" width="770" height="600" frameborder="0"> is also visible through direct path http://www.url.com/s_admin.php.
Is there any varible which is set just when logging through administration that I can include ?
I have tried with
if ( !defined('K_COUCH_DIR') ) die()
but it`s not working (it openes empty page)
I have included some custom php scripts into couch administration. It works well, however the file which is included <iframe src="../s_admin.php" width="770" height="600" frameborder="0"> is also visible through direct path http://www.url.com/s_admin.php.
Is there any varible which is set just when logging through administration that I can include ?
I have tried with
if ( !defined('K_COUCH_DIR') ) die()
but it`s not working (it openes empty page)