|
|
|
|
@ -1,18 +1,16 @@ |
|
|
|
|
<?php |
|
|
|
|
|
|
|
|
|
/* For licensing terms, see /license.txt */ |
|
|
|
|
|
|
|
|
|
require_once '../../../../../../inc/global.inc.php'; |
|
|
|
|
require_once api_get_path(LIBRARY_PATH).'fckeditor/editor/plugins/ajaxfilemanager/inc/config.php'; |
|
|
|
|
|
|
|
|
|
/** |
|
|
|
|
* ajax image undo function |
|
|
|
|
* @author Logan Cai (cailongqun [at] yahoo [dot] com [dot] cn) |
|
|
|
|
* @link www.phpletter.com |
|
|
|
|
* @since 22/May/2007 |
|
|
|
|
* @since 22/April/2007 |
|
|
|
|
* |
|
|
|
|
*/ |
|
|
|
|
|
|
|
|
|
require_once '../../../../../../inc/global.inc.php'; |
|
|
|
|
require_once api_get_path(LIBRARY_PATH).'fckeditor/editor/plugins/ajaxfilemanager/inc/config.php'; |
|
|
|
|
|
|
|
|
|
require_once(CLASS_HISTORY); |
|
|
|
|
$history = new History($_POST['file_path'], $session); |
|
|
|
|
$lastestSessionImageInfo = $history->getLastestRestorable(); |
|
|
|
|
|