PHP Classes

File: cradlecore-mvc-version1.0-r33/cradlecore-mvc/framework/cradlecore.bat

Recommend this page to a friend!
  Classes of alejandro soto   Cradlecore MVC   cradlecore-mvc-version1.0-r33/cradlecore-mvc/framework/cradlecore.bat   Download  
File: cradlecore-mvc-version1.0-r33/cradlecore-mvc/framework/cradlecore.bat
Role: Auxiliary data
Content type: text/plain
Description: Auxiliary data
Class: Cradlecore MVC
Web development framework that implements MVC
Author: By
Last change:
Date: 12 years ago
Size: 1,095 bytes
 

Contents

Class file image Download
@echo off rem ************************************************************* rem ** rem ************************************************************* rem This script will do the following: rem - check for PHP_COMMAND env, if found, use it. rem - if not found detect php, if found use it, otherwise err and terminate if "%OS%"=="Windows_NT" @setlocal rem %~dp0 is expanded pathname of the current script under NT set SCRIPT_DIR=%~dp0 goto init :init if "%PHP_COMMAND%" == "" goto no_phpcommand if "%SCRIPT_DIR%" == "" ( %PHP_COMMAND% "cradlecore" %* ) else ( %PHP_COMMAND% "%SCRIPT_DIR%\cradlecore" %* ) goto cleanup :no_phpcommand rem echo ------------------------------------------------------------------------ rem echo WARNING: Set environment var PHP_COMMAND to the location of your php.exe rem echo executable (e.g. C:\PHP\php.exe). (assuming php.exe on PATH) rem echo ------------------------------------------------------------------------ set PHP_COMMAND=php goto init :cleanup if "%OS%"=="Windows_NT" @endlocal rem pause