<?php

/* 
 * Copyright 2015 Origami Structures
 */

/**
 * Define the constants below when using this plug-in in a non-cakephp environment
 * 
 * The DS constant should be the platform's directory separator, normally returned by the php
 * constant DIRECTORY_SEPARATOR
 * 
 * The ROOT constant is the path to the folder CONTAINING the plugins folder in which 
 * OSDebug is contained.
 * 
 * Alternatively, you can include the single OSDebug.php file in the src/Lib directory and
 * not use this bootstrap at all.
 *  
 */
if(!defined(DS)){
    define('DS', DIRECTORY_SEPARATOR);
}
if(!defined(ROOT)){
    define('ROOT', $_SERVER['DOCUMENT_ROOT']);
}

require ROOT . DS.'plugins'.DS.'OSDebug'.DS.'src'.DS.'Lib'.DS.'OSDebug.php';

<?php

/* 
 * Copyright 2015 Origami Structures
 */

/**
 * Define the constants below when using this plug-in in a non-cakephp environment
 * 
 * The DS constant should be the platform's directory separator, normally returned by the php
 * constant DIRECTORY_SEPARATOR
 * 
 * The ROOT constant is the path to the folder CONTAINING the plugins folder in which 
 * OSDebug is contained.
 * 
 * Alternatively, you can include the single OSDebug.php file in the src/Lib directory and
 * not use this bootstrap at all.
 *  
 */
//if(!defined(DS)){
//    define('DS', DIRECTORY_SEPARATOR);
//}
//if(!defined(ROOT)){
//    define('ROOT', $_SERVER['DOCUMENT_ROOT']);
//}

require ROOT . DS.'plugins'.DS.'OSDebug'.DS.'src'.DS.'Lib'.DS.'OSDebug.php';

Remove first attempt at non-cake setup
Remove first attempt at non-cake setup
