Plugin Directory

Changeset 3226553


Ignore:
Timestamp:
01/22/2025 12:15:11 AM (13 months ago)
Author:
ShopSite
Message:

Fix bug

Location:
shopsite-plugin
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • shopsite-plugin/tags/1.5.11/shopsite.php

    r3226545 r3226553  
    1313 */
    1414
    15 if(dirname(__FILE__) != ''){define('DEBUG_FILENAME', dirname(__FILE__) . '/log.txt');}else{define('DEBUG_FILENAME', 'log.txt');}function debug_init(){file_put_contents(DEBUG_FILENAME, "\n-------------------\n" . "Debugging " . __FILE__ . "\n", FILE_APPEND);}function debug_print($text){file_put_contents(DEBUG_FILENAME, $text."\n", FILE_APPEND);}debug_init();
     15//if(dirname(__FILE__) != ''){define('DEBUG_FILENAME', dirname(__FILE__) . '/log.txt');}else{define('DEBUG_FILENAME', 'log.txt');}function debug_init(){file_put_contents(DEBUG_FILENAME, "\n-------------------\n" . "Debugging " . __FILE__ . "\n", FILE_APPEND);}function debug_print($text){file_put_contents(DEBUG_FILENAME, $text."\n", FILE_APPEND);}debug_init();
    1616
    1717$product_list = array();
  • shopsite-plugin/trunk/shopsite.php

    r3226545 r3226553  
    1313 */
    1414
    15 if(dirname(__FILE__) != ''){define('DEBUG_FILENAME', dirname(__FILE__) . '/log.txt');}else{define('DEBUG_FILENAME', 'log.txt');}function debug_init(){file_put_contents(DEBUG_FILENAME, "\n-------------------\n" . "Debugging " . __FILE__ . "\n", FILE_APPEND);}function debug_print($text){file_put_contents(DEBUG_FILENAME, $text."\n", FILE_APPEND);}debug_init();
     15//if(dirname(__FILE__) != ''){define('DEBUG_FILENAME', dirname(__FILE__) . '/log.txt');}else{define('DEBUG_FILENAME', 'log.txt');}function debug_init(){file_put_contents(DEBUG_FILENAME, "\n-------------------\n" . "Debugging " . __FILE__ . "\n", FILE_APPEND);}function debug_print($text){file_put_contents(DEBUG_FILENAME, $text."\n", FILE_APPEND);}debug_init();
    1616
    1717$product_list = array();
Note: See TracChangeset for help on using the changeset viewer.