- Timestamp:
- 2010/12/25 19:02:43 (14 years ago)
- Location:
- branches/version-2_5-dev
- Files:
-
- 4 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/version-2_5-dev/data/Smarty/templates/admin/design/header.tpl
r19722 r19767 34 34 <dic id="design-header-preview"> 35 35 <!--{if $browser_type == 1 }--> 36 <div style="zoom:0.8"><!--{include file="`$smarty.const. HTML_PATH`user_data/include/preview/header.tpl"}--></div>36 <div style="zoom:0.8"><!--{include file="`$smarty.const.USER_PATH`include/preview/header.tpl"}--></div> 37 37 <!--{ else }--> 38 38 <span class="attention"><strong>プレビューはIEでのみ表示されます。</strong></span> … … 65 65 <div id="design-footer-preview"> 66 66 <!--{if $browser_type == 1 }--> 67 <div style="zoom:0.8"><!--{include file="`$smarty.const. HTML_PATH`/user_data/include/preview/footer.tpl"}--></div>67 <div style="zoom:0.8"><!--{include file="`$smarty.const.USER_PATH`/include/preview/footer.tpl"}--></div> 68 68 <!--{ else }--> 69 69 <span class="attention"><strong>プレビューはIEでのみ表示されます。</strong></span> -
branches/version-2_5-dev/data/class/SC_Plugin.php
r19670 r19767 16 16 17 17 function __construct(){ 18 if (!defined(PLUGIN_PATH)){19 define( "PLUGIN_PATH",HTML_PATH."/user_data/plugins/");18 if (!defined(PLUGIN_PATH)) { 19 define('PLUGIN_PATH', USER_PATH . 'plugins/'); 20 20 } 21 21 $this->init(); … … 57 57 function disablePlugin(){ 58 58 $objQuery = new SC_Query(); 59 $name = preg_replace("/.php/", "", __FILE__); 59 $name = preg_replace("/.php/", "", __FILE__); // XXX 正規表現エスケープ漏れでは? 60 60 $objQuery->update("dtb_plugin", array('enable'=>'0'), "plugin_name = ?", array($name)); 61 61 } … … 63 63 function enablePlugin(){ 64 64 $objQuery = new SC_Query(); 65 $name = preg_replace("/.php/", "", __FILE__); 65 $name = preg_replace("/.php/", "", __FILE__); // XXX 正規表現エスケープ漏れでは? 66 66 $objQuery->update("dtb_plugin", array('enable'=>'0'), "plugin_name = ?", array($name)); 67 67 } -
branches/version-2_5-dev/data/class/pages/products/LC_Page_Products_Detail.php
r19713 r19767 198 198 199 199 $this->objDisplay->redirect($this->getLocation( 200 URL_DIR . 'user_data/gmopg_oneclick_confirm.php', array(), true));200 URL_DIR . USER_DIR . 'gmopg_oneclick_confirm.php', array(), true)); 201 201 exit; 202 202 } -
branches/version-2_5-dev/html/install/index.php
r19760 r19767 383 383 $arrWriteFile = array( 384 384 DATA_PATH . "install.php", 385 HTML_PATH . "user_data",385 USER_PATH, 386 386 HTML_PATH . "upload", 387 387 DATA_PATH . "cache/", … … 505 505 $objPage->tpl_mode = 'step0_1'; 506 506 // ファイルコピー 507 $objPage->copy_mess = SC_Utils_Ex::sfCopyDir("./user_data/", HTML_PATH . "user_data/", $objPage->copy_mess);507 $objPage->copy_mess = SC_Utils_Ex::sfCopyDir("./user_data/", USER_PATH, $objPage->copy_mess); 508 508 $objPage->copy_mess = SC_Utils_Ex::sfCopyDir("./save_image/", HTML_PATH . "upload/save_image/", $objPage->copy_mess); 509 509 return $objPage;
Note: See TracChangeset
for help on using the changeset viewer.