bin/im-queue.php 1 location
|
@@ 8-18 (lines=11) @@
|
5 |
|
$currentDir = getcwd(); |
6 |
|
$ariadne = dirname($currentDir).'/lib/'; |
7 |
|
|
8 |
|
if (!@include_once($ariadne."/bootstrap.php")) { |
9 |
|
chdir(substr($_SERVER['PHP_SELF'], 0, strrpos($_SERVER['PHP_SELF'], '/'))); |
10 |
|
$ariadne = dirname(getcwd()).'/lib/'; |
11 |
|
|
12 |
|
if(!include_once($ariadne."/bootstrap.php")){ |
13 |
|
echo "could not find Ariadne"; |
14 |
|
exit(1); |
15 |
|
} |
16 |
|
|
17 |
|
chdir($currentDir); |
18 |
|
} |
19 |
|
|
20 |
|
$cmd = $argv[1]; |
21 |
|
$arguments = array_slice($argv, 2); |
bin/recompile-templates.php 1 location
|
@@ 8-18 (lines=11) @@
|
5 |
|
$currentDir = getcwd(); |
6 |
|
$ariadne = dirname($currentDir).'/lib/'; |
7 |
|
|
8 |
|
if (!@include_once($ariadne."/bootstrap.php")) { |
9 |
|
chdir(substr($_SERVER['PHP_SELF'], 0, strrpos($_SERVER['PHP_SELF'], '/'))); |
10 |
|
$ariadne = dirname(getcwd()).'/lib/'; |
11 |
|
|
12 |
|
if(!include_once($ariadne."/bootstrap.php")){ |
13 |
|
echo "could not find Ariadne"; |
14 |
|
exit(1); |
15 |
|
} |
16 |
|
|
17 |
|
chdir($currentDir); |
18 |
|
} |
19 |
|
|
20 |
|
$inst_store = $store_config["dbms"]."store"; |
21 |
|
$store=new $inst_store($root,$store_config); |
bin/skeleton.php 1 location
|
@@ 8-18 (lines=11) @@
|
5 |
|
$currentDir = getcwd(); |
6 |
|
$ariadne = dirname($currentDir).'/lib/'; |
7 |
|
|
8 |
|
if (!@include_once($ariadne."/bootstrap.php")) { |
9 |
|
chdir(substr($_SERVER['PHP_SELF'], 0, strrpos($_SERVER['PHP_SELF'], '/'))); |
10 |
|
$ariadne = dirname(getcwd()).'/lib/'; |
11 |
|
|
12 |
|
if(!include_once($ariadne."/bootstrap.php")){ |
13 |
|
echo "could not find Ariadne"; |
14 |
|
exit(1); |
15 |
|
} |
16 |
|
|
17 |
|
chdir($currentDir); |
18 |
|
} |
19 |
|
|
20 |
|
$inst_store = $store_config["dbms"]."store"; |
21 |
|
$store=new $inst_store($root,$store_config); |
soap/loader.php 1 location
|
@@ 7-17 (lines=11) @@
|
4 |
|
$currentDir = getcwd(); |
5 |
|
$ariadne = dirname($currentDir).'/lib/'; |
6 |
|
|
7 |
|
if (!@include_once($ariadne."/bootstrap.php")) { |
8 |
|
chdir(substr($_SERVER['PHP_SELF'], 0, strrpos($_SERVER['PHP_SELF'], '/'))); |
9 |
|
$ariadne = dirname(getcwd()).'/lib/'; |
10 |
|
|
11 |
|
if(!include_once($ariadne."/bootstrap.php")){ |
12 |
|
echo "could not find Ariadne"; |
13 |
|
exit(1); |
14 |
|
} |
15 |
|
|
16 |
|
chdir($currentDir); |
17 |
|
} |
18 |
|
|
19 |
|
function unpack_array_names($source, &$target) { |
20 |
|
if (is_array($source)) { |