Skip to content

Instantly share code, notes, and snippets.

@robwent
Created May 18, 2018 23:24
Show Gist options
  • Save robwent/237b732a6ee89440537faa553d9cdb9b to your computer and use it in GitHub Desktop.
Save robwent/237b732a6ee89440537faa553d9cdb9b to your computer and use it in GitHub Desktop.
Drop into a folder to find the server root to the file
<?php
echo $_SERVER['DOCUMENT_ROOT'];
?>
@YosuCadilla
Copy link

YosuCadilla commented May 19, 2018

I propose the following changes:

<?php
 echo 'Your Path is: ';echo $_SERVER['DOCUMENT_ROOT']; echo '/app/console';
 echo '   and your cron jobs will PROBABLY be: * * * * * php ';echo $_SERVER['DOCUMENT_ROOT']; echo '/app/console mautic:segments:update';
?>

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment