This file contains hidden or 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 | |
namespace TYPO3\TYPO3\Routing; | |
/* * | |
* This script belongs to the FLOW3 package "TYPO3". * | |
* * | |
* It is free software; you can redistribute it and/or modify it under * | |
* the terms of the GNU General Public License, either version 3 of the * | |
* License, or (at your option) any later version. * | |
* * |
This file contains hidden or 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 | |
/* * | |
* This script belongs to the FLOW3 framework. * | |
* * | |
* It is free software; you can redistribute it and/or modify it under * | |
* the terms of the GNU Lesser General Public License as published by the * | |
* Free Software Foundation, either version 3 of the License, or (at your * | |
* option) any later version. * | |
* * |
This file contains hidden or 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
plugin.tx_scriptmerger { | |
css { | |
enable = 1 | |
addContentInDocument = 0 | |
# minification | |
minify { | |
enable = 1 | |
ignore = \.min\. | |
} |
This file contains hidden or 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 | |
/* * | |
* This script belongs to the FLOW3 framework. * | |
* * | |
* It is free software; you can redistribute it and/or modify it under * | |
* the terms of the GNU Lesser General Public License as published by the * | |
* Free Software Foundation, either version 3 of the License, or (at your * | |
* option) any later version. * | |
* * |
This file contains hidden or 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 | |
namespace TYPO3\TYPO3\Setup\Step; | |
/* * | |
* This script belongs to the FLOW3 package "TYPO3.Setup". * | |
* * | |
* It is free software; you can redistribute it and/or modify it under * | |
* the terms of the GNU Lesser General Public License, either version 3 * | |
* of the License, or (at your option) any later version. * | |
* * |
This file contains hidden or 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
$step = $this; | |
$callback = function(\TYPO3\Form\Core\Model\FinisherContext $finisherContext) use ($step) { | |
$step->importSite($finisherContext); | |
}; | |
$this->closureFinisher = new \TYPO3\Form\Finishers\ClosureFinisher(); | |
$this->closureFinisher->setOption('closure', $callback); |
This file contains hidden or 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
$paths = explode(PATH_SEPARATOR, getenv('PATH')); | |
foreach ($paths as $path) { | |
$phpExecutable = $path . DIRECTORY_SEPARATOR . 'php' . (isset($_SERVER['WINDIR']) ? '.exe' : ''); | |
if (file_exists($phpExecutable) && is_file($phpExecutable)) { | |
exec(escapeshellarg($phpExecutable) . ' -v', $phpVersion); | |
if (substr(array_shift($phpVersion), 0, strlen('PHP ' . PHP_VERSION)) === 'PHP ' . PHP_VERSION) { | |
echo $phpExecutable; | |
} | |
} | |
} |
This file contains hidden or 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
t3lib_div::loadTCA('fe_users'); | |
// Disable tx_extbase_type from being used by extbase as the frontend users & frontend groups required type field | |
unset($TCA['fe_users']['columns']['tx_extbase_type']); | |
unset($TCA['fe_users']['ctrl']['type']); | |
unset($TCA['fe_groups']['columns']['tx_extbase_type']); | |
unset($TCA['fe_groups']['ctrl']['type']); |
This file contains hidden or 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
try { | |
broken(); | |
} catch(\MyFirstException $e) { | |
echo $e->getMessage(); | |
} catch(\MySecondException $e) { | |
echo $e->getMessage(); | |
} catch {\Exception $e) { | |
echo $e->getMessage(); | |
} |
OlderNewer