]> git.mxchange.org Git - quix0rs-gnu-social.git/blobdiff - scripts/dumpschema.php
Make attachment fit better in notice: drop text and link
[quix0rs-gnu-social.git] / scripts / dumpschema.php
old mode 100644 (file)
new mode 100755 (executable)
index 9c5e3cf..ba159af
@@ -18,7 +18,8 @@
  * along with this program.  If not, see <http://www.gnu.org/licenses/>.
  */
 
-define('INSTALLDIR', realpath(dirname(__FILE__) . '/..'));
+define('INSTALLDIR', dirname(__DIR__));
+define('PUBLICDIR', INSTALLDIR . DIRECTORY_SEPARATOR . 'public');
 
 $helptext = <<<END_OF_CHECKSCHEMA_HELP
 Attempt to pull a schema definition for a given table.
@@ -250,4 +251,4 @@ if (count($args)) {
     }
 } else {
     show_help($helptext);
-}
\ No newline at end of file
+}