fixing small issues with rest
This commit is contained in:
15
gulliver/thirdparty/Haanga/lib/Haanga/Loader.php
vendored
15
gulliver/thirdparty/Haanga/lib/Haanga/Loader.php
vendored
@@ -1,6 +1,6 @@
|
||||
<?php
|
||||
|
||||
spl_autoload_register(function ($class) {
|
||||
function hanga_anonymous($class) {
|
||||
/*
|
||||
This array has a map of (class => file)
|
||||
*/
|
||||
@@ -72,23 +72,23 @@ spl_autoload_register(function ($class) {
|
||||
|
||||
// deps {{{
|
||||
static $deps = array (
|
||||
'haanga_extension_filter' =>
|
||||
'haanga_extension_filter' =>
|
||||
array (
|
||||
0 => 'haanga_extension',
|
||||
),
|
||||
'haanga_extension_filter_translation' =>
|
||||
'haanga_extension_filter_translation' =>
|
||||
array (
|
||||
0 => 'haanga_extension_filter_trans',
|
||||
),
|
||||
'haanga_extension_tag' =>
|
||||
'haanga_extension_tag' =>
|
||||
array (
|
||||
0 => 'haanga_extension',
|
||||
),
|
||||
'hg_parser' =>
|
||||
'hg_parser' =>
|
||||
array (
|
||||
0 => 'haanga_compiler_parser',
|
||||
),
|
||||
'haanga_compiler_runtime' =>
|
||||
'haanga_compiler_runtime' =>
|
||||
array (
|
||||
0 => 'haanga_compiler',
|
||||
),
|
||||
@@ -112,6 +112,7 @@ spl_autoload_register(function ($class) {
|
||||
}
|
||||
|
||||
return false;
|
||||
});
|
||||
}
|
||||
spl_autoload_register( "hanga_anonymous" );
|
||||
|
||||
|
||||
|
||||
2
workflow/engine/bin/rest-gen
Normal file → Executable file
2
workflow/engine/bin/rest-gen
Normal file → Executable file
@@ -9,7 +9,7 @@
|
||||
* @author Erik Amaru Ortiz <aortiz.erik@gmail.com>
|
||||
*/
|
||||
|
||||
include dirname(__FILE__) . '/../../../gulliver/Core/Bootstrap.php';
|
||||
include dirname(__FILE__) . '/../../../gulliver/core/Bootstrap.php';
|
||||
include dirname(__FILE__) . '/../../../workflow/engine/PmBootstrap.php';
|
||||
|
||||
$config = array(
|
||||
|
||||
@@ -87,7 +87,7 @@ class Service_Rest_RestTool
|
||||
$configIniStr .= "[$table]\n";
|
||||
$configIniStr .= " ; Param to set allowed methods (separeted by a single space). Complete example: ALLOW_METHODS = GET POST PUT DELETE\n";
|
||||
$configIniStr .= " ALLOW_METHODS = GET\n";
|
||||
$configIniStr .= " ; Params to set columns that should be exposed, you can use wildcard '*' to speccify all columns.\n";
|
||||
$configIniStr .= " ; Params to set columns that should be exposed, you can use wildcard '*' to specify all columns.\n";
|
||||
$configIniStr .= " EXPOSE_COLUMNS_GET = *\n";
|
||||
$configIniStr .= " EXPOSE_COLUMNS_POST = ".$strColumns."\n";
|
||||
$configIniStr .= " EXPOSE_COLUMNS_PUT = ".$strColumns."\n";
|
||||
|
||||
Reference in New Issue
Block a user