Removed symlink references in launchpad, can be accomplished by using the /__pickles path.

This commit is contained in:
Josh Sherman 2010-11-26 13:54:31 -05:00
parent 4c0baeb00a
commit f47138f450
2 changed files with 6 additions and 11 deletions

View file

@ -1,19 +1,12 @@
# Sample Apache Virtual Host Entry
#
# If you'd rather not do it this way, the aliases can either be omitted
# entirely (at the loss of utilizing shared PICKLES static content) or it can
# be alternately accomplished via symlinks within your site's document root.
#
# As for the PHP include_path (which is very mandatory) you could set it
# directly in the php.ini file, or simply set the include_path with ini_set()
# at the top of index.php (already done in the sample index.php)
#
# The PHP include_path has to be updated to point to PICKLES. This can be done
# here, directly in the php.ini file, or simply set the include_path with
# ini_set() at the top of index.php (already done in the sample index.php)
<VirtualHost *>
ServerName yoursite.com
ServerAdmin your@email.com
DocumentRoot /path/to/your/site/public
# Alias /pickles/css /path/to/pickles/css
# Alias /pickles/js /path/to/pickles/js
# Alias /pickles/images /path/to/pickles/images
# php_value include_path .:/path/to/pickles
</VirtualHost>

View file

@ -2,6 +2,8 @@
<html>
<head>
<title>Sample PICKLES Site</title>
<!-- The following line includes the jQuery file in /path/to/pickles/js -->
<script type="text/javascript" src="<?php echo $__dynamic->js('/__pickles/js/jquery.js'); ?>"></script>
</head>
<body>
<h1>PICKLES Sample Site</h1>