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
document_root: /app/webroot | |
shared_writable_dirs: | |
- app/tmp | |
- tmp/cache | |
php_extensions: | |
- mcrypt | |
- mysqli | |
- mbstring |
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
url_rewrites: | |
- ^/location_a.php /location_b.php | |
- | |
rule: ^/location_a.php /location_b.php | |
conditions: | |
- one | |
- two | |
- | |
rule: ^/location_a.php /location_b.php | |
conditions: |
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
document_root: /app/webroot | |
network_writable_dirs: | |
- app/tmp | |
php_extensions: | |
- mcrypt | |
- mysqli | |
- mbstring |
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
def spawn(command) | |
fork do | |
File.umask self.umask if self.umask | |
uid_num = Etc.getpwnam(self.uid).uid if self.uid | |
gid_num = Etc.getgrnam(self.gid).gid if self.gid | |
::Dir.chroot(self.chroot) if self.chroot | |
::Process.setsid | |
::Process.groups = [gid_num] if self.gid | |
::Process::Sys.setgid(gid_num) if self.gid |
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
# views/shared/_simple_list_container.html.erb | |
<div class="content company"> | |
<ul class="list <%= p.object_label_plural.downcase %>"> | |
<li class="first search" title="Search <%= p.object_label_plural.capitalize %> List"><span class="admin-sprite icon"></span><input id="search-filter" value="Search <%= p.object_label_plural.capitalize %>" onfocus="if(this.value=='Search <%= p.object_label_plural.capitalize %>')value=''" onblur="if(this.value=='')this.value='Search <%= p.object_label_plural.capitalize %>'"/> | |
<div class='actions-bar'> | |
<a href="<%= url_for [:new, :admin, @company, p.object] %>" title="Add New <%= p.object_label_plural %>" class="sprite add"></a> | |
<a href="#link" title="Enables [Item] Removal" class="sprite remove" onclick="toggleRemove()"></a> | |
</div> | |
</li> |
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
permissions: | |
/admin : | |
- 127.0.0.1: allow | |
- all: deny | |
/test/phone-list.txt : | |
- 123.5.15.8: deny | |
- 123.5.15.9: deny | |
- 123.5.15.10: deny | |
- 123.5.15.11: deny | |
- 123.5.15.12: deny |
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
web: | |
error_pages: | |
404: /404.html | |
502: /502.html |
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
general: | |
writable_directories: [/media, /var/log] |
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
web: | |
default_gateway: bootstrap.php |
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
web: | |
document_root: /app |