Merged in luisfernandosl/processmaker/PM-807 (pull request #2019)
PM-807 "Change especify to specify" SOLVED
This commit is contained in:
@@ -229,7 +229,7 @@ class PmSessionHandler //implements SessionHandlerInterface
|
|||||||
/**
|
/**
|
||||||
* Garbase Collection method
|
* Garbase Collection method
|
||||||
*
|
*
|
||||||
* @param int $maxlifetime max time that especify if the session is active or not
|
* @param int $maxlifetime max time that specifies if the session is active or not
|
||||||
* @return bool always returns true
|
* @return bool always returns true
|
||||||
*/
|
*/
|
||||||
public function gc($maxlifetime)
|
public function gc($maxlifetime)
|
||||||
|
|||||||
@@ -160,7 +160,7 @@ abstract class Zend_Uri
|
|||||||
*/
|
*/
|
||||||
$uri = explode(':', $uri, 2);
|
$uri = explode(':', $uri, 2);
|
||||||
$scheme = strtolower($uri[0]);
|
$scheme = strtolower($uri[0]);
|
||||||
$schemeSpecific = isset($uri[1]) ? $uri[1] : '';
|
$schemeSpecify = isset($uri[1]) ? $uri[1] : '';
|
||||||
|
|
||||||
if (!strlen($scheme)) {
|
if (!strlen($scheme)) {
|
||||||
throw new Zend_Uri_Exception('An empty string was supplied for the scheme');
|
throw new Zend_Uri_Exception('An empty string was supplied for the scheme');
|
||||||
|
|||||||
@@ -1376,7 +1376,7 @@ class Bootstrap
|
|||||||
{
|
{
|
||||||
global $translation;
|
global $translation;
|
||||||
|
|
||||||
// if the second parameter $lang is an array does mean it was especified to use as data
|
// if the second parameter ($lang) is an array, it was specified to use it as data
|
||||||
if (is_array($lang)) {
|
if (is_array($lang)) {
|
||||||
$data = $lang;
|
$data = $lang;
|
||||||
$lang = SYS_LANG;
|
$lang = SYS_LANG;
|
||||||
@@ -1409,7 +1409,7 @@ class Bootstrap
|
|||||||
*
|
*
|
||||||
* @param $path path to scan recursively the write permission
|
* @param $path path to scan recursively the write permission
|
||||||
* @param $flags to notive glob function
|
* @param $flags to notive glob function
|
||||||
* @param $pattern pattern to filter some especified files
|
* @param $pattern pattern to filter some specified files
|
||||||
* @return <array> array containing the recursive glob results
|
* @return <array> array containing the recursive glob results
|
||||||
*/
|
*/
|
||||||
public function rglob($pattern = '*', $flags = 0, $path = '')
|
public function rglob($pattern = '*', $flags = 0, $path = '')
|
||||||
@@ -2934,4 +2934,3 @@ class Bootstrap
|
|||||||
return md5($string);
|
return md5($string);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
@@ -2095,7 +2095,7 @@ class G
|
|||||||
{
|
{
|
||||||
global $translation;
|
global $translation;
|
||||||
|
|
||||||
// if the second parameter $lang is an array does mean it was especified to use as data
|
// if the second parameter ($lang) is an array, it was specified to use as data
|
||||||
if (is_array( $lang )) {
|
if (is_array( $lang )) {
|
||||||
$data = $lang;
|
$data = $lang;
|
||||||
$lang = SYS_LANG;
|
$lang = SYS_LANG;
|
||||||
@@ -3637,7 +3637,7 @@ class G
|
|||||||
* @author Erik Amaru Ortiz <erik@colosa.com>
|
* @author Erik Amaru Ortiz <erik@colosa.com>
|
||||||
*
|
*
|
||||||
* @param $path path to scan recursively the write permission
|
* @param $path path to scan recursively the write permission
|
||||||
* @param $pattern pattern to filter some especified files
|
* @param $pattern pattern to filter some specified files
|
||||||
* @return <boolean> if the $path, assuming that is a directory -> all files in it are writeables or not
|
* @return <boolean> if the $path, assuming that is a directory -> all files in it are writeables or not
|
||||||
*/
|
*/
|
||||||
public function is_rwritable($path, $pattern = '*')
|
public function is_rwritable($path, $pattern = '*')
|
||||||
@@ -3658,7 +3658,7 @@ class G
|
|||||||
*
|
*
|
||||||
* @param $path path to scan recursively the write permission
|
* @param $path path to scan recursively the write permission
|
||||||
* @param $flags to notive glob function
|
* @param $flags to notive glob function
|
||||||
* @param $pattern pattern to filter some especified files
|
* @param $pattern pattern to filter some specified files
|
||||||
* @return <array> array containing the recursive glob results
|
* @return <array> array containing the recursive glob results
|
||||||
*/
|
*/
|
||||||
public static function rglob($pattern = '*', $flags = 0, $path = '')
|
public static function rglob($pattern = '*', $flags = 0, $path = '')
|
||||||
@@ -5719,4 +5719,3 @@ function __ ($msgID, $lang = SYS_LANG, $data = null)
|
|||||||
{
|
{
|
||||||
return G::LoadTranslation( $msgID, $lang, $data );
|
return G::LoadTranslation( $msgID, $lang, $data );
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
@@ -24,8 +24,8 @@ Usage: {$argv[0]} [build-crud] [gen-ini] [-p <plugin name>] [-w <workspace name>
|
|||||||
Options:
|
Options:
|
||||||
build-crud : Task, build Rest Crud API.
|
build-crud : Task, build Rest Crud API.
|
||||||
gen-ini : Task, generates the rest config ini file.
|
gen-ini : Task, generates the rest config ini file.
|
||||||
-p : Especify a plugin to set as enviroment to perform the tasks.
|
-p : Specifies a plugin to set as environment to perform the tasks.
|
||||||
-w : Especify a workspace to set as enviroment to perform the tasks.
|
-w : Specifies a workspace to set as environment to perform the tasks.
|
||||||
|
|
||||||
EOT;
|
EOT;
|
||||||
|
|
||||||
@@ -42,7 +42,7 @@ try {
|
|||||||
case 'gen-ini':
|
case 'gen-ini':
|
||||||
if (isset($argv[2])) {
|
if (isset($argv[2])) {
|
||||||
if (! isset($argv[3])) {
|
if (! isset($argv[3])) {
|
||||||
throw new Exception("Missing option, need especify a valid argument after option '{$argv[2]}'");
|
throw new Exception("Missing option, need specify a valid argument after option '{$argv[2]}'");
|
||||||
}
|
}
|
||||||
|
|
||||||
switch ($argv[2]) {
|
switch ($argv[2]) {
|
||||||
|
|||||||
@@ -217,7 +217,7 @@ function run_unify_database($args)
|
|||||||
|
|
||||||
if ($count > 1) {
|
if ($count > 1) {
|
||||||
if(!Bootstrap::isLinuxOs()){
|
if(!Bootstrap::isLinuxOs()){
|
||||||
CLI::error("This is not a Linux enviroment, please especify workspace.\n");
|
CLI::error("This is not a Linux enviroment, please specify workspace.\n");
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user