mirror of
https://github.com/e107inc/e107.git
synced 2025-08-13 10:04:35 +02:00
Made acceptance tests work again
Broken due to Codeception moving modules out of codeception/codeception
This commit is contained in:
@@ -350,9 +350,12 @@ class cPanelDeployer extends Deployer
|
||||
$i = new RecursiveIteratorIterator(new RecursiveDirectoryIterator($path));
|
||||
self::println("Adding app to temporary archive…");
|
||||
$path = realpath($path);
|
||||
foreach ($i as $relpath => $_value)
|
||||
/**
|
||||
* @var $file_info SplFileInfo
|
||||
*/
|
||||
foreach ($i as $file_info)
|
||||
{
|
||||
$realpath = realpath($relpath);
|
||||
$realpath = $file_info->getRealPath();
|
||||
if (substr($realpath, 0, strlen($path)) === $path)
|
||||
$relpath = substr($realpath, strlen($path));
|
||||
if (substr($relpath, -3) === "/.." ||
|
||||
|
Reference in New Issue
Block a user