Beispiel #1
0
// this is the install script, it should set shit up for you.
if ($POD->success() && $POD->hasAdminUser() && $POD->isAuthenticated() && $POD->currentUser()->get('adminUser')) {
    // all is good, redirect to login?
    ?>
			
			<P><b>PeoplePods is ready to go!</b></p>
			
			<p><a href="<?php 
    $POD->podRoot();
    ?>
/admin/options/pods.php">Login to the Control Center to turn on site features.</a></b></P>
		
		<?php 
} else {
    $ok = @$_GET['ok'];
    if (!$ok && $POD->errorCode() == 100) {
        ?>
				
				<p>Welcome to PeoplePods!</p>
				
				<p>I am an install script that will attempt to set up your PeoplePods application and programming library.</p>
				
				<p>When I'm done, you should be able to login to PeoplePods and start personalizing the site.</p>
				
				<p>Before you continue, make sure you...</p>
				<ul>
					<li>Upload the PeoplePods folder to your web server and put it inside your site's root directory.</li>
					<li>Create a MySQL database for PeoplePods to use</li>
				</ul>
				
				<p>All set? <a href="index.php?ok=1">Continue &#187;</a></p>