This file contains 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 characters
--- /smartdc/bin/sdc-lastcomm Fri May 30 03:16:17 2014 | |
+++ /smartdc/bin/sdc-lastcomm Tue Apr 21 11:23:16 2015 | |
@@ -48,10 +48,19 @@ | |
echo "-R is not valid with -d" | |
exit 1 | |
fi | |
+ MAX_SLEEP=3 | |
+ cd "$DIR" || exit 1 | |
+ # Save the current audit log filename | |
+ AUDIT_LOG=`find . -name "*.not_terminated.*"` |
This file contains 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 characters
/* replace special blocks by "{php}" */ | |
$source_content = preg_replace_callback($search, function($matches) { | |
return '{php' . str_repeat("\n", substr_count('\0', "\n")) . '}'; | |
}, $source_content); | |
// $source_content = preg_replace($search.'e', "'" | |
// . $this->_quote_replace($this->left_delimiter) . 'php' | |
// . "' . str_repeat(\"\n\", substr_count('\\0', \"\n\")) .'" | |
// . $this->_quote_replace($this->right_delimiter) | |
// . "'" | |
// , $source_content); |
This file contains 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 characters
<?php | |
class Category extends CategoryCore | |
{ | |
public function getProducts($id_lang, $p, $n, $orderBy = NULL, $orderWay = NULL, $getTotal = false, $active = true, $random = false, $randomNumberProducts = 1, $checkAccess = true) | |
{ | |
$id_country = Country::getDefaultCountryId(); | |
$builder = ProductQueryBuilder::create($id_lang, $id_country) |
NewerOlder