-
-
Save asifsomy/908f6934ee416cf9a99c to your computer and use it in GitHub Desktop.
Revisions
-
asifsomy revised this gist
Aug 19, 2015 . 1 changed file with 1 addition and 1 deletion.There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode charactersOriginal file line number Diff line number Diff line change @@ -1,6 +1,6 @@ /* ===================================== */ /* Add This to Magento's /index.php file */ if (strpos($_SERVER['REQUEST_URI'],'admin') == false && strpos($_SERVER['REQUEST_URI'],'media') == false) { define('WORDPRESS_ROOT', '/home/thegreet/thegreetingfarm.com/html/staging/'); define('WORDPRESS_LOADER', WORDPRESS_ROOT.'wp-load.php'); require_once(WORDPRESS_LOADER); -
redesigned revised this gist
Nov 5, 2014 . 1 changed file with 1 addition and 1 deletion.There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode charactersOriginal file line number Diff line number Diff line change @@ -1,6 +1,6 @@ /* ===================================== */ /* Add This to Magento's /index.php file */ if (strpos($_SERVER[REQUEST_URI],'admin') == false && strpos($_SERVER[REQUEST_URI],'media') == false) { define('WORDPRESS_ROOT', '/home/thegreet/thegreetingfarm.com/html/staging/'); define('WORDPRESS_LOADER', WORDPRESS_ROOT.'wp-load.php'); require_once(WORDPRESS_LOADER); -
redesigned revised this gist
Nov 5, 2014 . 1 changed file with 5 additions and 3 deletions.There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode charactersOriginal file line number Diff line number Diff line change @@ -1,6 +1,8 @@ /* ===================================== */ /* Add This to Magento's /index.php file */ if (strpos($_SERVER[REQUEST_URI],'admin') !== false && strpos($_SERVER[REQUEST_URI],'media') !== false) { define('WORDPRESS_ROOT', '/home/thegreet/thegreetingfarm.com/html/staging/'); define('WORDPRESS_LOADER', WORDPRESS_ROOT.'wp-load.php'); require_once(WORDPRESS_LOADER); }; /* ===================================== */ -
redesigned revised this gist
Apr 22, 2014 . 1 changed file with 0 additions and 14 deletions.There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode charactersOriginal file line number Diff line number Diff line change @@ -1,14 +0,0 @@ -
redesigned revised this gist
Apr 22, 2014 . 1 changed file with 14 additions and 0 deletions.There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode charactersOriginal file line number Diff line number Diff line change @@ -0,0 +1,14 @@ Truncate table dataflow_batch_export; Truncate table dataflow_batch_import; Truncate table log_customer; Truncate table log_quote; Truncate table log_summary; Truncate table log_summary_type; Truncate table log_url; Truncate table log_url_info; Truncate table log_visitor; Truncate table log_visitor_info; Truncate table log_visitor_online; Truncate table report_viewed_product_index; Truncate table report_compared_product_index; Truncate table report_event; -
redesigned renamed this gist
Jul 16, 2013 . 1 changed file with 0 additions and 0 deletions.There are no files selected for viewing
File renamed without changes. -
redesigned revised this gist
Jul 16, 2013 . No changes.There are no files selected for viewing
-
redesigned renamed this gist
Jul 16, 2013 . 1 changed file with 0 additions and 0 deletions.There are no files selected for viewing
File renamed without changes. -
redesigned renamed this gist
Jul 16, 2013 . 1 changed file with 0 additions and 0 deletions.There are no files selected for viewing
File renamed without changes. -
redesigned renamed this gist
Jul 16, 2013 . 1 changed file with 0 additions and 0 deletions.There are no files selected for viewing
File renamed without changes. -
redesigned revised this gist
Jul 16, 2013 . 1 changed file with 2 additions and 4 deletions.There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode charactersOriginal file line number Diff line number Diff line change @@ -1,10 +1,8 @@ /* ===================================== *//* // # Copy /app/code/core/Mage/Core/functions.php to /app/code/local/Mage/Core/functions.php // # and wrap the __() function in an if_exists to prevent conflicts between both platforms // # translator functions. *//* ===================================== */ if (!function_exists('__')) { function __() { return Mage::app()->getTranslator()->translate(func_get_args()); } }; -
redesigned revised this gist
Jul 16, 2013 . 1 changed file with 6 additions and 3 deletions.There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode charactersOriginal file line number Diff line number Diff line change @@ -1,7 +1,10 @@ /* ===================================== */ /* // # Copy /app/code/core/Mage/Core/functions.php to /app/code/local/Mage/Core/functions.php // # and wrap the __() function in an if_exists to prevent conflicts between both platforms // # translator functions. */ /* ===================================== */ if (!function_exists('__')) { function __() { return Mage::app()->getTranslator()->translate(func_get_args()); } }; -
redesigned revised this gist
Jul 16, 2013 . No changes.There are no files selected for viewing
-
redesigned revised this gist
Jul 16, 2013 . 1 changed file with 2 additions and 0 deletions.There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode charactersOriginal file line number Diff line number Diff line change @@ -1,5 +1,7 @@ /* ===================================== *//* // # Copy /app/code/core/Mage/Core/functions.php to /app/code/local/Mage/Core/functions.php // # and wrap the __() function in an if_exists to prevent conflicts between both platforms translator functions. *//* =================================== */ if (!function_exists('__')) { function __() { return Mage::app()->getTranslator()->translate(func_get_args()); } }; -
redesigned revised this gist
Jul 16, 2013 . 1 changed file with 2 additions and 1 deletion.There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode charactersOriginal file line number Diff line number Diff line change @@ -1,4 +1,5 @@ // # Copy /app/code/core/Mage/Core/functions.php to /app/code/local/Mage/Core/functions.php // # and wrap the __() function in an if_exists to prevent conflicts between both platforms translator functions. if (!function_exists('__')) { function __() { return Mage::app()->getTranslator()->translate(func_get_args()); } }; -
redesigned created this gist
Jul 16, 2013 .There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode charactersOriginal file line number Diff line number Diff line change @@ -0,0 +1,4 @@ // # Copy /app/code/core/Mage/Core/functions.php to /app/code/local/Mage/Core/functions.php and wrap the __() function in an if_exists to prevent conflicts between both platforms translator functions. if (!function_exists('__')) { function __() { return Mage::app()->getTranslator()->translate(func_get_args()); } }; This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode charactersOriginal file line number Diff line number Diff line change @@ -0,0 +1,10 @@ /* ===================================== */ /* Add This to Wordpress's /wp-content/yourtheme/functions.php file */ define('MAGENTO_ROOT', '/Volumes/Storage/www/heartandsun/store/'); define('MAGENTO_LOADER', MAGENTO_ROOT.'app/Mage.php'); if (!class_exists('Mage')) { require_once(MAGENTO_LOADER); umask(0); Mage::app("default"); }; /* ===================================== */ This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode charactersOriginal file line number Diff line number Diff line change @@ -0,0 +1,6 @@ /* ===================================== */ /* Add This to Magento's /index.php file */ define('WORDPRESS_ROOT', '/Volumes/Storage/www/heartandsun/'); define('WORDPRESS_LOADER', WORDPRESS_ROOT.'wp-load.php'); require_once(WORDPRESS_LOADER); /* ===================================== */