Content-Length: 216912 | pFad | http://github.com/enigmatic-user/TinyMCE/commit/978b652453c30dea5d9c938c33fb857730a3b127

36 updated build script · enigmatic-user/TinyMCE@978b652 · GitHub
Skip to content

Commit

Permalink
updated build script
Browse files Browse the repository at this point in the history
  • Loading branch information
Shaun McCormick committed Dec 16, 2010
1 parent 33a657b commit 978b652
Showing 1 changed file with 14 additions and 8 deletions.
22 changes: 14 additions & 8 deletions _build/build.transport.php
Original file line number Diff line number Diff line change
Expand Up @@ -100,15 +100,21 @@

/* load system settings */
$settings = include $sources['data'].'transport.settings.php';
$attributes= array(
xPDOTransport::UNIQUE_KEY => 'key',
xPDOTransport::PRESERVE_KEYS => true,
xPDOTransport::UPDATE_OBJECT => false,
);
foreach ($settings as $setting) {
$vehicle = $builder->createVehicle($setting,$attributes);
$builder->putVehicle($vehicle);
if (is_array($settings) && !empty($settings)) {
$attributes= array(
xPDOTransport::UNIQUE_KEY => 'key',
xPDOTransport::PRESERVE_KEYS => true,
xPDOTransport::UPDATE_OBJECT => false,
);
foreach ($settings as $setting) {
$vehicle = $builder->createVehicle($setting,$attributes);
$builder->putVehicle($vehicle);
}
$modx->log(xPDO::LOG_LEVEL_INFO,'Packaged in '.count($settings).' System Settings.'); flush();
} else {
$modx->log(xPDO::LOG_LEVEL_ERROR,'Could not package System Settings.');
}
unset($settings,$setting);

/* now pack in the license file, readme and setup options */
$modx->log(xPDO::LOG_LEVEL_INFO,'Setting Package Attributes...'); flush();
Expand Down

0 comments on commit 978b652

Please sign in to comment.








ApplySandwichStrip

pFad - (p)hone/(F)rame/(a)nonymizer/(d)eclutterfier!      Saves Data!


--- a PPN by Garber Painting Akron. With Image Size Reduction included!

Fetched URL: http://github.com/enigmatic-user/TinyMCE/commit/978b652453c30dea5d9c938c33fb857730a3b127

Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy