summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorEudyptula <eitan@mosenkis.net>2009-08-04 17:58:55 -0400
committerEudyptula <eitan@mosenkis.net>2009-08-04 17:58:55 -0400
commitd3da989d3e2d2cb03cdc4bd2e23783f716ef5035 (patch)
tree2f9f8c413d2800a3f72282dec0f86170a00ff4f6 /gentoo_setup.php
parentAdd visibility column to builds, configurations (diff)
downloadingenue-d3da989d3e2d2cb03cdc4bd2e23783f716ef5035.tar.gz
ingenue-d3da989d3e2d2cb03cdc4bd2e23783f716ef5035.tar.bz2
ingenue-d3da989d3e2d2cb03cdc4bd2e23783f716ef5035.zip
Widespread cleanup - moved $conf, $death into $S; $S is given as arg to init_x() and body_x(); $request removed in favor of $_REQUEST; query() replaces $S[pdo]->query(); etc.
Diffstat (limited to 'gentoo_setup.php')
-rw-r--r--gentoo_setup.php4
1 files changed, 2 insertions, 2 deletions
diff --git a/gentoo_setup.php b/gentoo_setup.php
index 657aa91..29f56d6 100644
--- a/gentoo_setup.php
+++ b/gentoo_setup.php
@@ -1,12 +1,12 @@
<?php
$profiles=array();
foreach (get_pkgdirs() as $dir) {
- echo 'Creating profile for '.$conf['pkgdir_root'].'/'.$dir.'...';
+ echo 'Creating profile for '.$S['conf']['pkgdir_root'].'/'.$dir.'...';
$profiles[]=new sql_gentoo_profile();
$profile=&$profiles[count($profiles)-1];
$profile->pkgdir=$dir;
echo "done\n";
- echo 'Loading data from '.$conf['pkgdir_root'].'/'.$dir.'/Packages...';
+ echo 'Loading data from '.$S['conf']['pkgdir_root'].'/'.$dir.'/Packages...';
$profile->read_Packages();
$profile->read_pkgsets();
echo "done\n";