Sorry but i've got a problem, i'm not php developper, just a designer ;-)
So i did that :
I putted the option-tree folder in my theme folder: MyTheme > option-tree
I commented this two lines in the option-tree index.php
// define( 'OT_PLUGIN_DIR', WP_PLUGIN_DIR . '/' . dirname( plugin_basename( __FILE__ ) ) );
// define( 'OT_PLUGIN_URL', WP_PLUGIN_URL . '/' . dirname( plugin_basename( __FILE__ ) ) );
I added this in my functions.php theme
require_once (TEMPLATEPATH . '/option-tree/index.php');
define( 'OT_PLUGIN_DIR', get_template_directory_uri() . '/option-tree');
define( 'OT_PLUGIN_URL', get_template_directory_uri() . '/option-tree');
The first line seems ok, i think the problem comes from the second and third line of code.
Result :
I see the option-tree box in my left admin sidebare but the center of the page is empty (no forms in the center of the admin page) but just this message display : "No direct script access allowed"
Any idea of my mistake ?