[ Index ]
 

Code source de PRADO 3.0.6

Accédez au Source d'autres logiciels libresSoutenez Angelica Josefina !

title

Body

[fermer]

/demos/blog/ -> index.php (source)

   1  <?php
   2  
   3  $basePath=dirname(__FILE__);
   4  $frameworkPath=$basePath.'/../../framework/prado.php';
   5  $assetsPath=$basePath.'/assets';
   6  $runtimePath=$basePath.'/protected/runtime';
   7  $dataPath=$basePath.'/protected/Data';
   8  
   9  if(!is_writable($assetsPath))
  10      die("Please make sure that the directory $assetsPath is writable by Web server process.");
  11  if(!is_writable($runtimePath))
  12      die("Please make sure that the directory $runtimePath is writable by Web server process.");
  13  if(!is_writable($dataPath))
  14      die("Please make sure that the directory $dataPath is writable by Web server process.");
  15  if(!extension_loaded("sqlite"))
  16      die("SQLite PHP extension is required.");
  17  
  18  require_once($frameworkPath);
  19  
  20  $application=new TApplication;
  21  $application->run();
  22  
  23  ?>


Généré le : Sun Feb 25 21:07:04 2007 par Balluche grâce à PHPXref 0.7